Whipping up baked goods with the intention of giving them is a form of altruism ― it’s a sacrifice you make for someone else ― and the benefits of this selfless act have been heavily studied and written about.