Stars are born in vast clouds of gas and dust called molecular clouds. These clouds collapse under their gravity, causing the gas and dust to come together and form a dense core. As the core continues to collapse, it heats up, and eventually, nuclear fusion ignites, giving birth to a new star.