Cooking is the art and science of preparing food for consumption by combining, mixing, and heating ingredients. It involves various techniques such as boiling, baking, grilling, frying, and steaming to transform raw ingredients into flavorful and nutritious meals.