Latency refers to the time it takes for data to travel from its source to its destination in a computer network. It is the delay or lag between the initiation of a data transfer and the actual reception or processing of the data. Latency is usually measured in milliseconds (ms