A cookie is a baked or cooked food that is typically small, flat, and sweet. It usually contains flour, sugar, and some type of oil or fat.