The Maillard Reaction
The crust on a steak, the gold of toast, the brown of coffee and dark beer: almost everything that smells like cooking comes from one reaction a French doctor stumbled on in 1912 while trying to build a protein.

Sear a steak in a hot pan and watch it change. The grey-pink of raw meat turns tan, then a deep mahogany, and the kitchen fills with a smell raw beef never had. A steak poached in water reaches the same inner temperature and comes out pale and flat, so the color and the smell are doing something separate from cooking the meat through. They belong to the dry, hot surface, and they are the same event that gilds a loaf of bread, darkens a coffee bean, and turns a raw onion sweet and brown. Chemists call it the Maillard reaction.
The reaction is a courtship between two ingredients already sitting in the food: amino acids, the building blocks of protein, and a class of sugars called reducing sugars, the kind chemically open to bonding (glucose, fructose, the lactose in milk). Add enough heat, somewhere around 300 degrees Fahrenheit, 150 Celsius, and the two begin to combine and rearrange into hundreds of new compounds that did not exist in the raw food. A few are brown pigments, the melanoidins that color the crust. Most are aromas, and which ones appear depends less on the sugar than on the amino acid: one gives a bready smell, another the scent of roast meat, another something near popcorn. A single seared surface can throw off a thousand different molecules, which is why browned food tastes of so much more than the thing you started with.

Heat alone will not do it; the surface has to be dry. As long as it stays wet, boiling water pins the surface at 212 Fahrenheit, 100 Celsius, and the Maillard reaction barely stirs below about 285. A steak laid down still beaded with moisture, or crowded into a pan with five of its neighbors, only steams until the water has gone. This is the most useful single fact a cook can carry out of the chemistry. Pat the meat dry, leave it room, get the pan properly hot, and wait for the color. J. Kenji López-Alt of Serious Eats put numbers on the reward: a steak that meets the pan dry browns sooner and gives up less of its own juice doing it.
The man who first wrote the reaction down was no cook. Louis-Camille Maillard was a French physician and chemist who, in 1912, was heating amino acids with sugars in the hope of watching living tissue build proteins from raw parts. Proteins were not what he got. His solutions turned brown and gave off a faint smell of the kitchen, and he reported the color, and the carbon dioxide bubbling off, as a chemical curiosity. The food world left it alone for thirty years, until the Second World War sent armies hunting for rations that stayed edible in a crate and the browning that spoiled stored food suddenly mattered. In 1953 a chemist at the United States Department of Agriculture, John E. Hodge, worked out the actual machinery and published the three-stage scheme every food scientist still uses. Maillard found the reaction; Hodge explained it.

Once the smell is familiar you meet it everywhere heat touches food that is both a little savory and a little sweet: the crust of bread, the skin of a roast bird, fried onions, soy sauce, dark beer, maple syrup, the roast on a coffee bean, the toasted edge of chocolate. Caramelization is a separate reaction, sugar alone breaking down at higher heat with no protein in the room, and the two often run together, which is why a hard sear tastes at once meaty and sweet. The Nobel chemist Jean-Marie Lehn has called the Maillard the most widely practiced chemical reaction on Earth, run a few billion times a day in pans and ovens and toasters by people who have never heard the name. The brown it leaves on the food is the flavor itself, made on the surface in the few hot, dry seconds when the heat is high enough and the water is finally gone.
Reactions (American Chemical Society), “Maillard: The Most Delicious Chemical Reaction in the World.” A six-minute tour of why toast, coffee, and a seared crust smell the way they do.