Much as I hate to use theoretic science (strictly, Tom is correct, we don't know), the idea has been advanced that the stars are the afterburns of distant planets.
Wow that might be the dumbest thing I've ever heard. You do know that the elements that our planet and all other planets came from early stars in the universe