Butter is a staple ingredient in many desserts. From brownies, cookies, cakes, frostings, pastries, biscuits, and more, butter is key to a delicious dessert. Since so many baked goods call for it, you may have wondered, what does butter do in baking?