Massive comet will swing by the sun in 2031, Hubble observes

These images show how the nucleus of Comet C/2014 UN271 (Bernardinelli-Bernstein) was isolated from its coma, a vast shell of dust and gas surrounding the solid icy part of the comet.

(CNN)A comet with a nucleus larger than the state of Rhode Island is heading our way, but Earth is in no danger of a "Don't Look Up" situation, astronomers say.

Although comets are most recognizable for their streaming tails, which can stretch for millions of miles, the heart of a comet is its solid nucleus. This nucleus is made of ice and dust, which forms a dirty snowball.
While most of the known comet nuclei measure a few miles across, astronomers using the Hubble Space Telescope spotted Comet C/2014 UN271 with a nucleus that reaches 85 miles across. That's more than twice the width of Rhode Island.
    This nucleus is about 50 times larger than those of other comets, and it has an estimated mass of 500 trillion tons, which is 100,000 times greater than the mass of a typical comet.
      The comet is moving at 22,000 miles per hour from the edge of our solar system and will make its closest approach to us in 2031. But it will never get closer than one billion miles away from the sun -- just a little farther than the distance between Earth and Saturn.
        The comet was discovered by astronomers Pedro Bernardinelli and Gary Bernstein as they looked through archival images taken by the Dark Energy Survey at the Cerro Tololo Inter-American Observatory in Chile. The comet was first observed in 2010 and is also known as Comet Bernardinelli-Bernstein in honor of its discoverers. Since then, astronomers have observed the comet with ground and space-based telescopes.
        This diagram compares the size of the icy, solid nucleus of Comet Bernardinelli-Bernstein to several other comets.
        In January, researchers used the Hubble Space Telescope to take five photos of the comet. The images are part of a new study published Tuesday in The Astrophysical Journal Letters.
          "This comet is literally the tip of the iceberg for many thousands of comets that are too faint to see in the more distant parts of the solar system," said study coauthor David Jewitt, a professor of planetary science and astronomy at the University of California, Los Angeles, in a statement. "We've always suspected this comet had to be big because it is so bright at such a large distance. Now we confirm it is."
          Comets are relics from the early days of the solar system, icy leftover pieces from when the planets were forming. The gravity of the largest planets kicked comets out to the Oort Cloud, and the cloud is now the home of distant comets on the edge of our solar system that extends out into deep space. Comets travel back toward the sun when their orbits experience the gravitational tug of passing stars.
          Largest known comet is heading close enough to us to become visible