The Butterfly Nebula, which is a planetary nebula resulting from the death of a sun-like star, has been caught creating large dust grains that could form planets.
A dead 'sun' forms building blocks of exoplanets in new JWST Butterfly Nebula image
Source: space
Source Link: https://www.space.com/astronomy/james-webb-space-telescope/a-dead-sun-forms-building-blocks-of-exoplanets-in-new-jwst-butterfly-nebula-image