Yes, that is correct. Stars are born within nebulae, which are vast clouds of dust and gas in space. The gravitational forces within a nebula can cause the dust and gas to collapse and form a protostar, which eventually becomes a fully-fledged star through nuclear fusion. This process of star formation is a crucial part of the life cycle of stars in the universe.