But some cool stars have different spectra, dominated by carbon-containing molecules, such as CH, CN, and C2. These spectral features signal a rare condition in which carbon is more abundant than oxygen, which is why these objects are called carbon stars.