Your IP address is shown here. IP address is a numerical way of identifying your computer on Internet. Website can find much information by your IP address. For example, we know your country by your IP.
Why can we find the IP address' country and location? It's because the owner of the IP address (ex. ISP and website) needs to submit relevant information when applying for the allocation of IP address.
IP address doesn't contain the location information by itself. However our database stores the corresponding relationship between the IP address and its location. Thus we can find the detailed location of any IP address.