Though we generally say stars the mass of the Sun and larger turn into planetary nebulae at the end of their lives, the exact cut-off point isn't well understood and is in the range of ~1.0-1.2 solar masses. So the Sun may or may not become a planetary nebula. https://octodon.social/media/P5qqPVyaiHj8GCUyGm8