Cooking is a broad term that encompasses various methods of preparing
food using heat. These methods include boiling, steaming, frying,
grilling, and many more. Baking, on the other hand, is a specific form
of cooking that involves placing food in an oven and using dry heat to
cook it.
Read on Wikipedia