Baking refers to a specific kind of cooking, that which involves cooking by dry heat. It refers particularly to cooking in an oven. Baking generally, but not always, involves a leavening, such as yeast, a grain base, such as flour, water or milk, and a small amount of oils, eggs, or flavorings. Cooking refers to the preparation of food in general, and as such is a broader category which baking is part of.