What a GPX file is
GPX (GPS Exchange Format) is the common file format for GPS data: tracks (where you went, point by point, usually with the time and elevation of each point), routes (a planned way through a few points) and waypoints (single places with a name). It is plain text in XML.
GPS watches and bike computers, phone apps and route planners all export GPX, and people share them for hikes, rides, runs, races and trips. Google Earth files open in the KML viewer, GIS data in the shapefile viewer.