The Global Positioning System (GPS) is a satellite-based navigation system consisting of 31 satellites used to calculate positions globally. It was developed by the United States Department of Defense for military navigation but is now used widely in civilian applications. GPS works by precisely timing the signals from at least four satellites to determine the user's three-dimensional position and time.