Mental Model
A queue helps organize tasks or items in the order they arrive, so the first one in is the first one out.
Analogy: Imagine standing in line at a grocery store checkout. The first person to get in line is the first to be served and leave the line.
front -> [item1] -> [item2] -> [item3] -> rear ā ā