They collect minor things like search terms and app usage info. The rest is stored on the server only if you explicitly upload a photo or a recorded track or something similar. No collection of location data or WiFi networks etc. The telemetry can be blocked of course if you have such setup (VPN+pihole for example)
Not sure if best, but: