What is role of electron transport chain in photosynthesis?