How do dying stars contribute to the formation of new stars?