The solution to a 75-year-old materials mystery might one day allow farmers in developing nations to produce their own fertilizer on demand, using sunlight and nitrogen from the air.