Learning the body, then the rules
Long before a child understands offside or double dribbles, sport teaches something more basic: how their own body moves through space, and what happens when it collides with someone else's.
The rules come second, and they arrive as a small revelation — that a game only works if everyone agrees to the same boundaries, and that winning inside those boundaries means more than winning without them.