Association football
The offside rule means that there must be at least two defenders between an attacker and the defenders' goal if the attacker's teammate passes the ball to him/her. Usually, one of the two defenders is the goalkeeper. (This rule is complex and has many other details.) Before this rule was added, players would often stand next to their opponents' goal and score an easy goal as soon as the ball was passed to them.