k .. how are elements formed in stars?

i have exam tomorrow ..and i need th annswer!!! THANKS

The gas from which they formed had been seeded with the heavy elements formed from previous giant stars. Nucleosynthesis--wikipedia