The densityof water molecules within the leaf is typically 60 times greater than the densityof carbon dioxide in the air, and the diffusion rate of the water molecule is greater than that of the carbon-dioxide molecule.
Instead of being stored in batteries, the electricity made by solar panels can be used to split water into oxygen and hydrogen molecules, the latter of which can be used as a fuel with high energy density.