GPS may fail to exactly determine the position in certain conditions. For example due to multipath in area with buildings where line of sight might not exist to satellites. Even in mobile networks assisted GPS (AGPS) is localization with the help of ground base stations. Thanks. @AlDmour.