The Global Positioning System, or GPS for short, is a network of about 30 satellites sitting above the Earth. Anywhere you go on Earth, there are three or four of these satellites somewhere above you.
The satellites constantly send out signals that just tell the time (“it is 3:00”). To find out where you are, a GPS unit or cellphone reads the signals from three or four satellites and compares how long it took for each signal to arrive. The delay tells how far away you are from each satellite. Your phone compares the three distances and uses that to tell where you are.
This way of finding your position is called trilateration.
If you know you’re, say, 20,000 kilometers from satellite A, you must be somewhere on the red…