A foul in soccer is an unfair act by a player which is deemed by the referee to contravene Law 12 of the Laws of the Game.