Motive interview question

How does Global Positioning system work?