 Carbon-14 is made by the np reaction of nitrogen-14 with neutrons.It is generated in the atmosphere by the action of cosmic rays on nitrogen.Also a large amount was generated by the neutrons from the air bursts during nuclear weapons testing conducted in the 20th century.