Queue lengths refer to the number of entities waiting in line for service at a facility or a system. This concept is crucial in discrete-event simulation as it helps to analyze and optimize the flow of processes by assessing how long entities have to wait, which in turn affects overall system performance and efficiency.