It was how Odysseus sailed the seas, how Columbus reached the Americas, and how Lawrence of Arabia found his way across the vast, featureless deserts of the Middle East.
For millennia, travellers used the stars to guide them - a technique which, in recent decades, has been replaced by modern technology.
Now the United States navy is reinstating classes on celestial navigation for all new recruits, teaching the use of sextants - instruments made of mirrors used to calculate angles and plot directions - because of rising concerns that computers used to chart courses could be hacked or malfunction.
"We went away from celestial navigation because computers are great," said Lieutenant Commander Ryan Rogers, the deputy chairman of the naval academy's Department of Seamanship and Navigation.