Nebulae are vast clouds of gas and dust, primarily composed of hydrogen and helium, along with trace amounts of other elements. These clouds are the raw materials from which stars are born through a process of gravitational collapse and nuclear fusion.