Atoms are neutral; they contain the same number of protons as electrons. By definition, an ion is an electrically charged particle produced by either removing electrons from a neutral atom to give a positive ion or adding electrons to a neutral atom to give a negative ion.
In a series of reactions the energy is converted (along an electron transport process) into ATP and NADPH. Water is split in the process, releasing oxygen as a by-product of the reaction.