This information is contained in the header of every request you make to a web server.
Generally speaking, every time you browse to a page this information is sent to the server in plain text (unless the server uses https)
This information (and more) will be stored on each web server you visit in a form like this log sample (from our own server)
When combined with cookies, every visit you make, even many days or months later, can be grouped together to gather a profile on your browsing activities...

hostnagafix.co.uk
accept-encodinggzip
cf-ipcountryUS
x-forwarded-for54.161.116.225, 162.158.79.124
cf-ray46bb66c907d056ab-IAD
x-forwarded-protohttp
cf-visitor{"scheme":"http"}
user-agentCCBot/2.0 (https://commoncrawl.org/faq/)
accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
if-modified-sinceMon, 20 Aug 2018 05:35:49 GMT
cf-connecting-ip54.161.116.225
x-forwarded-hostnagafix.co.uk
x-forwarded-servernagafix.co.uk
connectionKeep-Alive

This information is used by the web server along with the networking information