Cooking is the art, science, and craft of preparing food for consumption by applying heat and combining ingredients. It transforms raw food to improve digestion, enhance flavor and texture, and ensure safety by eliminating harmful pathogens.