Prosocial behavior
Prosocial behavior is a social behavior that "benefit[s] other people or society as a whole", "such as helping, sharing, donating, co-operating, and volunteering". The person may or may not intend to benefit others; the behavior's prosocial benefits are often only calculable after the fact.