Scientists of the Department of Theoretical Physics and the Cosmos, University of Granada have analyzed the chemical composition and evolutionary status of carbon stars of spectral type R. The analysis seeks to explain the origin of the enrichment of carbon in its atmosphere, which had not been analyzed to date. While scientists warn that the study has no immediate application, the information obtained can be invaluable in the future: explaining how to create carbon, one of the basic ingredients of life.