Comets, like asteroids, are small celestial bodies that orbit the Sun. However, unlike asteroids, comets are composed primarily of frozen ammonia, methane or water, and contain only small amounts of rocky material. As a result of this composition comets have been given the nickname of “dirty snowballs.”