An analysis of moon rocks collected during the Apollo missions has found much higher levels of water than scientists had expected.