The body governing football in the world, FIFA has established these rules known as the Laws of the Game. These laws govern all aspects of the sport, including player conduct, field dimensions, and the roles of referees and officials. Key aspects include rules on fouls, offside, the ball in and out of play, penalties, free kicks, and throw-ins.
As time changes there are new laws being introduced into the game to ensure fair play and consistency in football matches worldwide. These laws are basically introduced because of incidents that have occurred in the past and a repetition of such incident is been avoided.