Taking part in your community is an important part of living a healthy life. While an active social life can help prevent loneliness.