Cosmic rays combine with oxygen to form carbon dioxide, which plants absorb. As soon as a living organism dies, it stops taking in new carbon. By looking at the ratio of carbon-12 to carbon-14 in the sample and comparing it to the ratio in a living organism, it’s possible to determine the age of a formerly living thing.