A chocolate chip cookie is a drop cookie that features chocolate chips or chocolate morsels as its distinguishing ingredient. Chocolate chip cookies are commonly made with white sugar; brown sugar; flour; salt; eggs; a leavening agent such as baking soda; a fat, typically butter or shortening; vanilla extract; and chocolate pieces. Some recipes also include milk or nuts (such as chopped walnuts) in the dough.