How does advertising influence people’s purchases?

Advertising informs us about the product and attempts to convince us that we need or want that product.