The hydrogen is converted to NADPH, which is then used in the light-independent reactions. Oxygen gas diffuses out of the organism as a waste product. This all happens in the "grana thylakoid" of chloroplasts.