After the first Sniper Wolf fight, Snake gets captured, and Ocelot straps him to a table and runs electricity through him. Your life bar drains while it happens, and you keep it up by hammering the action button as fast as you can.
There's also a button to give up. If you give up, the torture stops, but Ocelot takes it out on Meryl, who's being held somewhere else on the base.
This is the big choice in the game, and it decides which ending you get:
ENDURE IT (don't give up, even once): Meryl lives.
GIVE UP: Meryl doesn't make it.
HOW TO SURVIVE IT: There's more than one round of it. Set the controller on your leg or the table so you can hit the button with more than one finger, and don't stop until the screen says you can. On Extreme my thumb hurt for a day. Worth it.
After that you're in a cell. One way out: Otacon slips you a bottle of ketchup. Lie down on the floor of the cell with the ketchup equipped, and the guard will think you're bleeding and come in to check on you. It's ridiculous. I love it.