Hat trick has 2 different meanings across 1 category:
Noun
(sports) three consecutive scores by one player or three scores in one game (as in cricket or ice hockey etc.)
Three wickets taken by a bowler in three consecutive balls.