Planetary nebulae were given their name by the first astronomical observers who were initially unable to distinguish them from planets, and who tended to confuse them with planets, which were of more interest to them. The Sun is expected to spawn a planetary nebula about 12 billion years after its formation.