it's hard to separate this from the evolutionary argument. The social and spiritual stuff helps us cooperate with each other, and you could argue that the function of love is to foster human cooperation. The reason we feel good when we have love is to encourage us to love, because people who love do better at passing their genes on.