Mental Model
A queue helps manage tasks in the order they arrive, so the first task added is the first one done.
Analogy: Think of a line at a ticket counter where people wait their turn; the first person in line is served first, and new people join at the end.
front -> [task1] -> [task2] -> [task3] -> rear null
