The 6-phosphogluconic acid is converted to 2-keto-3-deoxy-6-phosphogluconate (KDPG) in the presence of enzyme 6-phosphogluconate dehydratase; in the process, a water molecule is released to the surroundings.