How does the Location service work?