The surface of the moon is a galactic time capsule