ELI5: Explain Like I'm 5

Queue (data structure)

A queue is a type of data structure that helps you remember something in a certain order. Imagine a line at the store: the person at the front of the line (or the front of the queue) is the first person to get help, and the person at the back is the last one. A queue structure works exactly like that - the order in which things come in is the same order in which they come out. So if you wanted to keep track of what movies someone has to watch, you could use a queue so the first movie gets watched first, then the second movie, and so on.