The process by which ATP formation occurs inside the cell is known as phosphorylation. When this ATP synthesis occurs from the ADP or inorganic phosphate in the presence of light, this process is known as the photophosphorylation.