In computer science, "latency" refers to the delay between action and given instruction.
For example, when you activate a line of code that instructs the movement of text but it only carries out the action
a couple of moments later. The time interval between activating the line of code and the action taking place is known as latency.