Quick Answer

Cooking is the controlled application of energy to food. That energy changes food's physical structure, triggers chemical reactions, and kills pathogens. Every technique — boiling, roasting, grilling, steaming — is just a different method of delivering that energy and controlling what happens as a result.

The Science

Think of a recipe as a piece of code. You can run it without understanding how it works. Most of the time it executes fine. But when something goes wrong — a sauce breaks, a cake falls, meat comes out dry — you’re stuck. You don’t know what to change because you don’t know what the code is actually doing.

That’s the situation most cooks are in. They follow instructions without knowing the mechanism.

Understanding the mechanism changes everything. You can adapt, troubleshoot, and improvise. You can look at a recipe from a culture you’ve never cooked from and read it like a familiar story.

What Cooking Is, Exactly

Cooking is the controlled application of energy to food, which changes food’s physical structure, triggers chemical reactions, and makes food safer to eat.

That’s it. Everything else is just details.

The energy is almost always thermal — heat. You apply heat to food, and three categories of things happen.

First, physical changes. Fat melts. Ice turns to water. Moisture evaporates. Cell walls soften. These are phase transitions and structural changes.

Second, chemical reactions. Proteins unfold. Sugars caramelize. Starches absorb water and swell. Acids and bases interact. Hundreds of new flavor compounds form. These are irreversible changes.

Third, biological effects. Heat kills pathogens. Enzymes that were active in raw food (browning enzymes in fruit, proteases in meat) are deactivated.

All three happen simultaneously during cooking. Understanding which ones are dominant in a given technique tells you what to control.

The Three Ways Heat Gets into Food

Heat doesn’t teleport into food. It travels by one of three mechanisms. Knowing which one your cooking method uses tells you a lot about why it behaves the way it does.

Conduction

Conduction is heat transfer through direct contact. Put a cold steak on a hot cast iron pan and heat moves from the iron into the meat surface through direct molecular contact. The surface heats rapidly. The interior heats more slowly, because it depends on heat conducting inward from the surface.

This gradient is critical. A thick steak on a screaming-hot pan gets a beautiful brown crust. But the interior might still be cold while the outer half-inch is overcooked. Chefs use high-heat searing followed by oven finishing precisely because they’re combining two heat transfer methods to control this gradient.

Different materials conduct heat at different rates. Cast iron heats slowly but holds heat well. Copper heats and cools almost instantly. Thin aluminum pans respond quickly to burner changes. The material changes how cooking behaves.

Convection

Convection moves heat through a fluid: water, oil, or air. Hot fluid rises, cooler fluid sinks, creating circulation that continuously brings hot fluid into contact with food.

Boiling water is convection. The water circulates and delivers heat uniformly to food submerged in it. Deep frying is convection in oil, but at much higher temperatures, and the oil also conducts heat into the food directly. A standard oven is mostly convection from hot air, with some radiant heat from the heating elements. A convection oven has a fan that forces air circulation and makes heat transfer more efficient.

Water is a much better conductor of heat than air. That’s why a pot of 212°F boiling water cooks food far faster than a 212°F oven. The water can transfer heat to food faster than air can at the same temperature.

Radiation

Radiation transfers heat as electromagnetic energy. It doesn’t need a medium. A broiler heats the surface of food directly through infrared radiation, similar to how the sun heats your skin.

Grilling involves both radiation from hot coals and convection from rising hot air. The radiant component is intense and directional, which is why one side of food chars while the other side barely cooks. You rotate food to expose both sides.

Microwave ovens use a different part of the electromagnetic spectrum. Microwaves cause water molecules to rotate, which generates heat inside the food rather than at the surface. This is why microwaved food often lacks browning — the surface doesn’t get hot enough for Maillard reactions or caramelization.

The Core Chemical Reactions

Most of what makes cooked food good comes from four chemical reactions. Each happens at a different temperature and does different things to flavor and texture.

The Maillard Reaction

This is the most important browning reaction in cooking. Above roughly 280°F (140°C), amino acids and reducing sugars react to form hundreds of new compounds: brown pigments, volatile aromatics, and complex flavors. Seared steak, toasted bread, roasted coffee, and fried onions all owe their flavors primarily to the Maillard reaction.

It only happens in the absence of significant surface moisture, because water holds the surface below 212°F. Dry surfaces, hot pans, and crowding-free cooking are required. See the full breakdown at Maillard Reaction.

Caramelization

Caramelization is purely about sugar. At temperatures from about 320°F upward (depending on the sugar type), sugars break down and form new compounds: caramel flavors, brown color, and bitter notes at higher temperatures.

Unlike the Maillard reaction, caramelization doesn’t need protein. Onions caramelize partly through Maillard reactions (they contain amino acids) and partly through true caramelization of their natural sugars. A pot of pure sucrose syrup caramelizes through caramelization alone. More at Caramelization.

Protein Denaturation

Proteins are chains of amino acids folded into specific 3D shapes. Heat (and acid, and mechanical force) disrupts the bonds holding that shape. The protein unfolds. When many denatured proteins are present, they bond to each other and form a new solid or semi-solid structure.

This is why eggs firm up, meat changes texture, and fish turns opaque. Each protein denatures at a specific temperature. Myosin in beef starts denaturing around 120°F (49°C). Egg whites set around 144°F (62°C). Collagen in connective tissue denatures around 160°F (71°C) and then slowly converts to gelatin. Understanding this sequence is why experienced cooks can cook a brisket perfectly and also cook a steak perfectly, even though the target temperatures differ by 100°F. Full details at Protein Denaturation.

Starch Gelatinization

Raw starch granules are dense and poorly digestible. Heated in water, they absorb liquid, swell, and eventually burst, releasing starch molecules that form a thick gel. This is gelatinization, and it’s why cooked rice is soft, sauces thicken, and bread has its chewy crumb. It starts around 140°F (60°C) for most cooking starches and completes at varying temperatures depending on starch type. See Starch Gelatinization.

The Core Physical Changes

Beyond chemical reactions, cooking drives physical changes that are equally important to texture.

Emulsification

Oil and water don’t mix on their own. Emulsification creates a stable blend. An emulsifier molecule has one water-loving end and one fat-loving end. It sits at the oil-water boundary and keeps them from separating.

Mayonnaise is oil suspended in water (an oil-in-water emulsion) held together by lecithin from egg yolks. Hollandaise and béarnaise are the same. Butter is a water-in-oil emulsion. When a butter sauce breaks, you’ve lost the emulsion. Understanding the mechanism tells you how to fix it: add water slowly back while whisking vigorously. See Emulsification.

Leavening

Leavening creates gas bubbles inside a dough or batter. Those bubbles expand during baking, making the product light. The gas source varies: yeast produces CO2 through fermentation, baking soda and baking powder produce CO2 through chemical reactions, and eggs trap air bubbles through mechanical whipping.

In each case, the gas is already present before the oven. Baking sets the structure around those bubbles by denaturing protein and gelatinizing starch, permanently trapping them. The difference between baking soda and baking powder is a key one for troubleshooting flat baked goods. See Baking Soda vs Baking Powder for the chemistry.

Gel Formation

Many cooking processes create gels: collagen dissolves into gelatin that sets when cooled, starch forms gel networks in sauces, pectin in fruit creates jam, and egg proteins form custard gels. A gel is a liquid trapped inside a solid protein or polysaccharide network. It gives food body without making it rigid.

The best example is a well-made stock. Collagen-rich bones simmered for hours release gelatin into the liquid. Cool it, and it sets into a solid. Warm it, and it flows again. Gelatin gels are thermoreversible. Egg protein gels are not, which is why you can’t un-cook a scrambled egg.

Why Cooking Makes Food Safer

Heat kills pathogens by denaturing their proteins. The same mechanism that firms up an egg white also kills the enzymes, membrane proteins, and replication machinery of bacteria, viruses, and parasites.

The key is the combination of temperature and time. Higher temperatures kill pathogens faster. Lower temperatures need more time. The USDA’s safe minimum internal temperatures are based on this relationship: 165°F (74°C) for poultry kills Salmonella in under a second. 145°F (63°C) for whole cuts of beef kills pathogens in a few minutes. See Safe Internal Temperatures for the full table.

There’s a temperature danger zone between 40°F and 140°F (4°C and 60°C) where bacterial growth is rapid. Moving food through this zone quickly — and not leaving it there — is the basis of food safety. See Temperature Danger Zone.

Understanding denaturation also explains why frozen food isn’t the same as cooked food for safety purposes. Freezing slows bacterial activity but doesn’t kill most pathogens the way heat does. It preserves, not sterilizes.

Why the Mechanism Matters

Knowing these mechanisms doesn’t make you a chef. Plenty of excellent home cooks never think about gelatinization. But it changes how you handle problems.

When your scrambled eggs come out watery and rubbery, you know it’s protein coagulation squeezed out moisture from overheating. The fix is lower heat, not a different technique entirely.

When your pan sauce won’t reduce into anything coherent, you know there isn’t enough gelatin-forming collagen in the liquid. The fix is adding stock or a small amount of unflavored gelatin.

When your bread is dense and gummy, you know the starch didn’t gelatinize completely, or the gluten network didn’t develop properly, or the leavening was insufficient. Each symptom points to a different cause.

The mechanism is the diagnostic tool. Once you have it, recipes stop being instructions and start being descriptions of what’s actually happening.

The role of water activity in cooking and preservation

Water is involved in almost every cooking reaction, but the relevant quantity isn’t just how much water is present. It’s how much of that water is free to participate in reactions and microbial growth.

Water activity (Aw) measures the ratio of the vapor pressure of water in food to the vapor pressure of pure water. Pure water has an Aw of 1.0. Bone-dry food has an Aw near 0. Most pathogens need an Aw above 0.90 to grow. Many molds need above 0.70.

Salting and sugaring preserve food partly by reducing water activity. Salt and sugar bind water molecules, making them unavailable for microbial use. This is why salt-cured meats, jams, and dried fish don’t support bacterial growth even at room temperature.

Drying, freeze-drying, and dehydration all work by reducing water activity. They don’t kill pathogens outright. They remove the conditions pathogens need to grow.

This is also why the surface of a dry-brined steak sears better. Not only does the salt affect protein structure, but it also changes water activity at the surface, which changes how the surface behaves at high heat. The Maillard reaction is sensitive to water activity. Lowering surface water activity helps browning begin at slightly lower temperatures and proceed more efficiently.

Understanding water activity explains why some foods that look similar behave completely differently in storage. A freshly baked cookie and a dried cracker might look similar in terms of water content by weight, but the cracker has dramatically lower water activity. The cookie will mold. The cracker won’t.

What This Means for You

You don't need to memorize every reaction. You need to understand which ones are active in a given cooking method, what temperature they need, and what goes wrong if conditions are off. Once you have that mental model, recipes become starting points, not rigid instructions.

References

  1. McGee H. On Food and Cooking: The Science and Lore of the Kitchen. Scribner, 2004.
  2. Barham P, et al. (2010). Molecular gastronomy: a new emerging scientific discipline. Chemical Reviews. 110(4):2313-65. PMID: 20143820.
  3. USDA Food Safety and Inspection Service. Cooking Safety.