These materials expand into an enormous escaping atmosphere called the coma, which becomes far bigger than a planet, and they are forced back into long tails of dust and gas by radiation and charged particles flowing from the Sun. Comets are regular members of the solar system family, gravitationally bound to the Sun. Comets are very small in size relative to planets. Their average diameters usually range from 750 m or less to about 20 km. Recently, evidence has been found for much larger distant comets, perhaps having diameters of 300 km or more, but these sizes are still small compared to planets.
Planets are usually more or less spherical in shape, usually bulging slightly at the equator.
Comets are irregular in shape, with their longest dimension often twice the shortest. The best evidence suggests that comets are very fragile. You could take a big piece of cometary material and simply pull it in two with your bare hands, something like a poorly compacted snowball. Comets, of course, must obey the same universal laws of motion as do all other bodies. Where the orbits of planets around the Sun are nearly circular, however, the orbits of comets are quite elongated.