the earth has elements that were formed in previous generation of stars. I wonder if the sun is also not a first generation star.
We can never be certain, of course, because they are all long gone. Like, 13 billion years gone. The James Webb telescope is hoped to see back nearly that far back, but not likely near enough to catch any of them.
Not only does earth have elements formed in older stars, so do all the planets in the solar system and our own sun.