To survive, cells require many substances to be at higher concentrations inside the cell than outside of it. This is known as active transport and requires cell energy.
A genes dna is transferred to a molecule called an rna in the cell nucleus. Then the Rna assembles the protein and continues until the ribosomes "stop".