Common techniques
Client-side prediction shows your own actions immediately, interpolation smooths other players' movement, server reconciliation corrects mistakes, and rollback netcode, popular in fighting games, rewinds and replays when late inputs arrive.
Why it matters
Players blame lag on the game. Good netcode makes moderate delays feel smooth; poor netcode makes even fast connections feel unfair.
Questions, answered
How many times per second the server updates the game state; higher rates feel more precise but cost more.
An authoritative server that validates actions prevents many cheats.