Thylakoid membranes are involved in ATP synthesis by: Chemiosmosis Glycolysis Dark reaction Photolysis