What is the relationship between social media and consumer buying behaviour on a product?

What is the relationship between social media and consumer buying behaviour on a product?