In photosynthesis, a light-dependent reaction uses light energy from the sun to split water which has been taken in by the organism. Water, when split, gives oxygen, hydrogen, and electrons. These electrons move through structures in chloroplasts and, by "chemiosmosis", make ATP.