The original cloud of gas and dust was so massive that it broke into separate clouds, or protoplanets, which eventually formed planets, and as the Sun grew hotter, it emitted radiation that drove away leftover material, leaving behind planets and comets