TCX files, or Training Center XML files, are specifically created to contain workout metrics, including workout details, heart rate, GPS coordinates, and other essential metrics.
These files are generated through multiple exercise monitors, mapping gadgets, and platforms like Garmin Connect. https://www.filemagic.com/en/data-files/tcx-file-extension/tcx-files-what-it-is-and-how-to-open-it/