For a star to explode as a Type II supernova, it must be at several times more massive than the sun (estimates run from eight to 15 solar masses). Like the sun, it will eventually run out of hydrogen and then helium fuel at its core. However, it will have enough mass and pressure to fuse carbon.
i had to right an essay on this stuff.