What is a user agent?
Every request your browser makes includes a User-Agent header: a line of text naming the browser, its version and your operating system. Websites use it to work around browser bugs, offer the right download, show a mobile layout or count visitors in their analytics.
Why does it mention Mozilla, Safari and Chrome at once?
History. In the 1990s, sites sent their best pages only to browsers that said "Mozilla" (Netscape), so every other browser started claiming to be Mozilla too. Later, Chrome added "Safari" to get pages built for Safari, and Edge and Opera added "Chrome". Today almost every user agent starts with Mozilla/5.0, and the real browser is the last name in the list.
Frozen and reduced user agents
The full string helps trackers tell devices apart, so browsers now reveal less. Chrome reports a fixed version of Windows, Android and macOS and hides your device model, Safari has reported macOS 10.15.7 for years, and the details are available to sites only through Client Hints when they ask. So an old-looking version number here is normal.
Can I change my user agent?
Yes. Browser developer tools can send a different one for testing (in Chrome, open DevTools, then the Network conditions panel), and extensions can switch it permanently. It changes how sites treat you, not your IP address, so it isn't a privacy tool on its own: sites can still read dozens of other details, some of which the home page lists under "What websites can see".
From the terminal
Command-line tools send their own user agent, which is how this site answers them with plain text:
curl -L showmyip.dev # curl/8.7.1 gets just your IP
curl -I -A "MyApp/1.0" https://www.showmyip.dev # send a custom one