iPhones by default have location data. Android too (even more precise).
www.google.com/maps/timeline - can view if you've somehow let Google grab this data