You might want to review your physics on that one.
Medium-sized stars (like our Sun): Late in their lives, when the hydrogen becomes depleted, stars like our Sun can convert helium into oxygen and carbon.
Massive stars (greater than five times the mass of the Sun): When their hydrogen becomes depleted, high mass stars convert helium atoms into carbon and oxygen, followed by the fusion of carbon and oxygen into neon, sodium, magnesium, sulfur and silicon. Later reactions transform these elements into calcium, iron, nickel, chromium, copper and others. When these old, large stars with depleted cores supernova, they create heavy elements (all the natural elements heavier than iron) and spew them into space, forming the basis for life.
http://www.enchantedlearning.com/subjects/astronomy/stars/fusion.shtml