The green pigment chlorophyll is within the thylakoid membrane , the space between the thylakoid & chloroplast membranes is called the stroma. The light reactions take place in the thylakoid; that is where water is oxidized, and oxygen is released. Electrons that freed from the water are transferred to ATP & NADPH. Dark reactions the occur outside the thylakoid. In the reactions the energy from ATP and NADPH is used to fix carbon dioxide. The products of this reaction take place in the stroma ( the aqueous fluid surroudning the stack of thylakoids) & in the cytoplasm.