The cell membrane separates the interior of the cell from the outside environment. The cell membrane is the jelly-like matter that controls what goes in and out of the cell.
Nitrogen is a major component by which plants use sun energy to produce sugars from water and carbon dioxide. (It is also a major component of amino acids)