Glyceraldehyde 3-phosphate (G3P or GAP) is a crucial intermediate in the metabolic pathways of photosynthesis and glycolysis. It is a triose phosphate, meaning it is a three-carbon sugar phosphate that serves as a key building block for the synthesis of larger carbohydrate molecules.