In this process, four protons fuse using carbon, nitrogen and oxygen as catalysts. Stars can emit energy as long as they have hydrogen fuel in their core. Once this hydrogen runs out, the fusion reactions shut down and the star begins to shrink and cool.