Play on/upon (something)

To cause an effect on something, to influence something.

The company played on the feelings of loneliness of some people to get them to buy more products.