How Does Google Use Data on the Advertising Side?

How does Google use data on the advertising side?