What are the mental benefits of team sports?

Team sports have various mental benefits. For example, exercise is proven to reduce depression and being part of a team can increase self confidence.