Planetary nebulae are blown off smaller stars similar to our sun when the near the end of their lives.