The document summarizes the brain's internal navigation system. It describes the discovery of place cells in the hippocampus by John O'Keefe in 1971 which fire when a rat is in a particular location and help form a cognitive map. May-Britt Moser and Edvard Moser discovered grid cells in the entorhinal cortex in 2005 which form a hexagonal grid-like pattern and act as a coordinate system. Other key cells involved are head direction cells and boundary cells. Together these cells allow an animal to know its location, direction and distance traveled to navigate spaces. Damage to the hippocampus, as seen in patient H.M., impairs this ability to form new spatial memories.