They collect our behavior for they can find out what we like, don't like, and what our opinions on world events. They collect all of this to find out what type of person you are. For they can set the right ads for you.
For example, you search up cheese burgers alot? The chances are that google or the site you are on will give you an ad about burgers. It's all about them making a profit.
Hope this helps!