Lag is caused by a variety of factors, including high latency, low bandwidth, and too many background programs running on your computer.