What is an offside in football/soccer?

The offside rule in football states that, at the moment of a pass (i.e. when the ball leaves the passer's foot), there must be at least two opposing players (including the goalkeeper) behind the attacking player receiving the pass. If this condition is not met, the referee calls offside, which results on a free kick for the defending team.