Grid cells primarily represent non-spatial attributes, while place cells encode memories, challenging the traditional view of grid cells as a navigational system.