You can also use shortening as a substitute for butter in cookies if you want to. These fats and oils add flavor and contribute to baked goods' texture, but they do work a bit differently.