Latency is simply the delay between an input and a response, in terms of computing. For example, you press a key in-game (the input), and your player moves forward (the response). There is a very small delay between you pressing the key and your character moving forward. That is latency. Latency is largely determined by your internet connection (if you're playing on a multiplayer server), and your computer's hardware.