0:00:07.042,0:00:08.453 In a time-lapse video, 0:00:08.453,0:00:10.707 it looks like a monster coming alive. 0:00:10.707,0:00:13.619 For a moment, it sits there innocuously. 0:00:13.619,0:00:16.196 Then, ripples move across its surface. 0:00:16.196,0:00:17.630 It bulges outwards, 0:00:17.630,0:00:19.587 bursting with weird boils. 0:00:19.587,0:00:21.219 It triples in volume. 0:00:21.219,0:00:23.462 Its color darkens ominously, 0:00:23.462,0:00:24.796 and its surface hardens 0:00:24.796,0:00:28.801 into an alien topography of peaks and craters. 0:00:28.801,0:00:30.765 Then, the kitchen timer dings. 0:00:30.765,0:00:32.141 Your cookie is ready. 0:00:32.141,0:00:33.928 What happened inside that oven? 0:00:33.928,0:00:35.841 Don't let the apron deceive you! 0:00:35.841,0:00:38.229 Bakers are mad scientists. 0:00:38.229,0:00:40.064 When you slide the pan into the oven, 0:00:40.064,0:00:42.613 you're setting off a series of chemical reactions 0:00:42.613,0:00:45.339 that transform one substance, dough, 0:00:45.339,0:00:47.368 into another, cookies. 0:00:47.368,0:00:50.313 When the dough reaches 92 degrees Fahrenheit, 0:00:50.313,0:00:51.792 the butter inside melts, 0:00:51.792,0:00:54.041 causing the dough to start spreading out. 0:00:54.041,0:00:55.542 Butter is an emulsion, 0:00:55.542,0:00:57.131 or mixture of two substances 0:00:57.131,0:00:59.009 that don't want to stay together, 0:00:59.009,0:01:01.038 in this case, water and fat, 0:01:01.038,0:01:02.386 along with some dairy solids 0:01:02.386,0:01:04.212 that help hold them together. 0:01:04.212,0:01:05.172 As the butter melts, 0:01:05.172,0:01:07.424 its trapped water is released. 0:01:07.424,0:01:08.550 And as the cookie get hotter, 0:01:08.550,0:01:10.719 the water expands into steam. 0:01:10.719,0:01:13.220 It pushes against the dough from the inside, 0:01:13.220,0:01:15.678 trying to escape through the cookie walls 0:01:15.678,0:01:18.640 like Ridley Scott's chest-bursting alien. 0:01:18.640,0:01:20.193 Your eggs may have been home 0:01:20.193,0:01:22.010 to squirming salmonella bacteria. 0:01:22.010,0:01:24.771 An estimated 142,000 Americans 0:01:24.771,0:01:27.343 are infected this way each year. 0:01:27.343,0:01:28.902 Though salmonella can live for weeks 0:01:28.902,0:01:30.171 outside a living body 0:01:30.171,0:01:31.788 and even survive freezing, 0:01:31.788,0:01:35.409 136 degrees is too hot for them. 0:01:35.409,0:01:36.949 When your dough reaches that temperature, 0:01:36.949,0:01:38.117 they die off. 0:01:38.117,0:01:39.677 You'll live to test your fate 0:01:39.677,0:01:41.203 with a bite of raw dough 0:01:41.203,0:01:43.174 you sneak from your next batch. 0:01:43.174,0:01:47.093 At 144 degrees, changes begin in the proteins, 0:01:47.093,0:01:49.513 which come mostly from the eggs in your dough. 0:01:49.513,0:01:50.983 Eggs are composed of dozens 0:01:50.983,0:01:52.406 of different kinds of proteins, 0:01:52.406,0:01:55.040 each sensitive to a different temperature. 0:01:55.040,0:01:56.804 In an egg fresh from the hen, 0:01:56.804,0:01:59.755 these proteins look like coiled up balls of string. 0:01:59.755,0:02:01.595 When they're exposed to heat energy, 0:02:01.595,0:02:03.588 the protein strings unfold 0:02:03.588,0:02:05.837 and get tangled up with their neighbors. 0:02:05.837,0:02:07.423 This linked structure makes 0:02:07.423,0:02:09.221 the runny egg nearly solid, 0:02:09.221,0:02:11.848 giving substance to squishy dough. 0:02:11.848,0:02:14.749 Water boils away at 212 degrees, 0:02:14.749,0:02:16.498 so like mud baking in the sun, 0:02:16.498,0:02:19.392 your cookie gets dried out and it stiffens. 0:02:19.392,0:02:21.375 Cracks spread across its surface. 0:02:21.375,0:02:24.136 The steam that was bubbling inside evaporates, 0:02:24.136,0:02:25.748 leaving behind airy pockets 0:02:25.748,0:02:27.800 that make the cookie light and flaky. 0:02:27.800,0:02:29.812 Helping this along is your leavening agent, 0:02:29.812,0:02:31.380 sodium bicarbonate, 0:02:31.380,0:02:32.600 or baking soda. 0:02:32.600,0:02:34.104 The sodium bicarbonate reacts 0:02:34.104,0:02:35.599 with acids in the dough 0:02:35.599,0:02:37.713 to create carbon dioxide gas, 0:02:37.713,0:02:40.140 which makes airy pockets in your cookie. 0:02:40.140,0:02:42.652 Now, it's nearly ready for a refreshing dunk 0:02:42.652,0:02:44.691 in a cool glass of milk. 0:02:44.691,0:02:47.520 One of science's tastiest reactions 0:02:47.520,0:02:49.906 occurs at 310 degrees. 0:02:49.906,0:02:52.521 This is the temperature for Maillard reactions. 0:02:52.521,0:02:54.013 Maillard reactions result 0:02:54.013,0:02:56.026 when proteins and sugars break down 0:02:56.026,0:02:57.635 and rearrange themselves, 0:02:57.635,0:02:59.158 forming ring-like structures, 0:02:59.158,0:03:00.549 which reflect light in a way 0:03:00.549,0:03:02.704 that gives foods like Thanksgiving turkey 0:03:02.704,0:03:03.788 and hamburgers 0:03:03.788,0:03:06.498 their distinctive, rich brown color. 0:03:06.498,0:03:08.123 As this reaction occurs, 0:03:08.123,0:03:11.033 it produces a range of flavor and aroma compounds, 0:03:11.033,0:03:12.701 which also react with each other, 0:03:12.701,0:03:15.866 forming even more complex tastes and smells. 0:03:15.866,0:03:18.141 Caramelization is the last reaction 0:03:18.141,0:03:20.394 to take place inside your cookie. 0:03:20.394,0:03:22.209 Caramelization is what happens 0:03:22.209,0:03:25.977 when sugar molecules break down under high heat, 0:03:25.977,0:03:27.694 forming the sweet, nutty, 0:03:27.694,0:03:29.402 and slightly bitter flavor compounds 0:03:29.402,0:03:32.037 that define, well, caramel. 0:03:32.037,0:03:35.539 And, in fact, if your recipe calls for a 350 degree oven, 0:03:35.539,0:03:37.018 it'll never happen 0:03:37.018,0:03:40.955 since caramelization starts at 356 degrees. 0:03:40.955,0:03:43.371 If your ideal cookie is barely browned, 0:03:43.371,0:03:45.623 like a Northeasterner on a beach vacation, 0:03:45.623,0:03:48.502 you could have set your oven to 310 degrees. 0:03:48.502,0:03:50.785 If you like your cookies to have a nice tan, 0:03:50.785,0:03:51.900 crank up the heat. 0:03:51.900,0:03:55.722 Caramelization continues up to 390 degrees. 0:03:55.722,0:03:56.872 And here's another trick: 0:03:56.872,0:03:58.955 you don't need that kitchen timer; 0:03:58.955,0:04:01.914 your nose is a sensitive scientific instrument. 0:04:01.914,0:04:04.308 When you smell the nutty, toasty aromas 0:04:04.308,0:04:07.055 of the Maillard reaction and caramelization, 0:04:07.055,0:04:08.411 your cookies are ready. 0:04:08.411,0:04:09.725 Grab your glass of milk, 0:04:09.725,0:04:10.816 put your feet up, 0:04:10.816,0:04:14.778 and reflect that science can be pretty sweet.