How Tony Stark Built the Mark I in a Cave
The Answer: After the Ten Rings capture Tony Stark in Afghanistan, they order him to build a Jericho missile. Instead, Tony and fellow prisoner Yinsen secretly build a small arc reactor to keep the shrapnel from his heart and a crude armored suit, the Mark I, which Tony uses to fight his way out of the cave.
Watch the trailer for Iron Man
The Scene
Tony wakes up in a cave with wires running into his chest. Yinsen, a doctor held prisoner with him, has fitted an electromagnet to stop shrapnel from the attack on his convoy from reaching his heart. The man in charge of the Ten Rings, Raza, offers Tony a deal: build the Jericho missile he was showing off to the army, and go free.
Tony agrees on camera and does something else in secret. He first builds a miniature arc reactor to replace the magnet and power his heart. Then he and Yinsen use the weapons parts in the cave to build a suit. The design is spread across separate sheets, so the guards never see the whole suit in one drawing.
The Escape
When the guards realize something is wrong, Yinsen runs into the tunnels to buy time while the suit powers up. Tony walks out in the Mark I, burns the weapons stockpile with the suit's flame throwers, and finds Yinsen dying. Then he launches himself into the sky, crashes in the desert, and the suit falls apart around him. It works for exactly as long as he needs it.
A Box of Scraps
The cave matters long after Tony leaves it. Back in the United States, Obadiah Stane, Howard Stark's old partner, has the wreck of the Mark I recovered and orders his own engineers to copy the arc reactor. When they say it cannot be done, he shouts that Tony Stark built this in a cave with a box of scraps. The line has become one of the most quoted in the film, because it is the whole point of Tony: what he can build is not about money, it is about him.
Made to Look Homemade
Off screen, the Mark I had to look like it came from spare parts. Stan Winston's company, which built the film's practical armor, made versions in metal and rubber, and one wearable version weighed about 41 kilograms (90 pounds). The cave itself was a large set with branching tunnels, built so the camera could follow the escape.
Why It Matters
Every Iron Man suit that follows starts here. The Mark I is the reason Tony stops making weapons, the reason the arc reactor sits in his chest, and the first link in a chain that leads to the Ten Rings and the real Mandarin years later. Every later suit, up to the nanotech armor of Infinity War, is a better answer to the question Tony first asked in that cave.
See the Iron Man hub, Obadiah Stane and the theory There is a real Mandarin.
Sources
What Is the Green Drink Tony Stark Drinks in Iron Man 2?
The chlorophyll Tony drinks while his arc reactor poisons him