In football, a foul is called when a player commits an unfair act against an opponent or an offense against the rules of the game. This can include actions such as tripping, pushing, holding, or using excessive force while challenging for the ball. The referee will blow the whistle and award a free kick or a penalty depending on the severity and location of the foul.