The relationship between social media and consumer buying behaviour

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