Asteroids and comets have a few things in common. They are both celestial bodies orbiting our Sun, and they both can have unusual orbits, sometimes straying close to Earth or the other planets. ... While asteroids consist of metals and rocky material, comets are made up of ice, dust, rocky materials and organic compounds.