A hat trick in hockey is when a player scores three goals in a game. The term hat trick is often used in sports to refer to a player achieving three of something during a single competition, such as three goals in one soccer game, three hits in a baseball game or three touchdowns in an American football game.