Comets are small celestial bodies that orbit the sun in elongated paths and become visible as they approach it, often developing tails made of gas and dust. They are composed of ice, dust, and various gases, believed to be remnants from the early solar system. Key components include the nucleus, coma, dust tail, and ion tail, with their origins linked to the Oort Cloud and Kuiper Belt.