A hat trick in football is when a player scores three goals in a single game. To achieve this feat, a player must have good skill, timing, and accuracy to score multiple goals against the opposing team's defense and goalkeeper. It is considered an impressive accomplishment in the sport.