What’s the difference between a social media manager and a community manager?

Social media managers focus on brand promotion, while community managers focus on fostering relationships and engagement.