The websites, games and apps you use online all collect information about you. This can include the device you are using, your internet address and your location.
If you have an account then it will collect your personal information, including the things you do on the service. Your internet service provider may also collect information about what you do online.
Many companies collect personal information to help them provide you with products that suit you but also decide which adverts you see.