What is the main idea of the following passage?
In recent years, there has been a growing concern about the impact of social media on mental health. Studies have shown that excessive use of social media can lead to feelings of anxiety, depression, and loneliness. However, some experts argue that social media can also have positive effects, such as providing a sense of community and connection.