Stellar structure

In the CNO cycle, what is the role of carbon, nitrogen, and oxygen nuclei?