Prayer is amazing in how much it shapes our lives and communities. Prayer in fact, has an aspect of community built into it by God's design. It's called intercession. As we interceded for others in prayer, we grow toward our attitude toward others.
As we see that Moses stood in the gap for others in Psalm 106, we get a picture of just how important praying for others really can be; but throughout the New Testament, we see how natural this is within Christian community. James 5 actually gives us a command to ask for prayer, pray for others, and pray together.
Community is found as one aspect of our prayers.