The Sun is a star, specifically a G-type main-sequence star (G2V). It generates energy through nuclear fusion in its core, converting hydrogen into helium. A planet orbits a star (like Earth orbits the Sun). A comet is an icy body that develops a tail when near the Sun. A meteoroid is a small rocky or metallic body in space.