Geolocation refers to the identification of the geographic location of a user or computing device via a variety of data collection mechanisms. Typically, most geolocation services use network routing addresses or internal GPS devices to determine this location. Geolocation is a device-specific API.
https://developers.google.com/maps/documentation/javascript/geolocation#:~:text=Geolocation%20refers%20to%20the%20identification,is%20a%20device%2Dspecific%20API.