Photophosphorylation is the process by which light energy is converted into chemical energy in the form of ATP during photosynthesis. It occurs in the thylakoid membranes of chloroplasts and involves the movement of electrons through an electron transport chain, ultimately driving the synthesis of ATP from ADP and inorganic phosphate.