A nebula (plural: nebulae) is a vast cloud of gas and dust in space, often serving as a nursery for new stars. They can be formed from the remnants of dead stars, or they can be regions where gas and dust are dense enough to collapse under gravity, leading to star formation. Nebulae can be categorized into several types, including emission, reflection, and dark nebulae, each with distinct characteristics and appearances.