Queuing theory analyzes systems where customers arrive for service and may need to wait if service is not immediate. A queuing system consists of an arrival process, queue configuration, service mechanism, and queue discipline. Common examples include banks, restaurants, and computer networks. The M/M/1 model assumes arrivals follow a Poisson process and service times are exponentially distributed. It can be used to calculate average queue length, wait time, and resource utilization. Little's theorem relates average queue length, arrival rate, and wait time. Queuing delay at routers depends on packet arrival and service rates.