In soccer, a hat trick is when a player scores three goals for their team in the same match. The goals in a hat trick dont need to be scored in succession, and they can be scored at any point during the game, whether its in regulation time or stoppage time at the end of a half. The term "hat trick" originated in cricket in the 19th century, where a bowler who took three wickets in three consecutive balls was awarded a hat. In soccer, a "perfect hat trick" is achieved by scoring one goal with the right foot, one goal with the left foot, and one goal with the head.