A pitcher is said to strike out the side when he retires all three batters in a half-inning by striking them out.
In slang, when a batter strikes out three times in a game, he is said to have completed a hat trick.