Friendship plays an important role in human life, and here's how it helps people overcome heartbreaks in relationships.