A queue is like a line of people waiting for a turn. Imagine you’re at a playground, and there’s only one swing. Everyone who wants to swing has to wait in a line. The person at the front of the line gets to swing first. When they’re done, they go to the back of the line, and the next person gets a turn. This way, everyone gets a fair chance to play.
Think of a queue like a line of toy cars on a track. Each car has to wait for the one in front to move before it can go. The first car in line goes first, then the second, and so on. This keeps everything in order and makes sure no car crashes into another.
A queue can also be like a bunch of ducks following their mom. They all walk in a line, one after the other. The first duck follows Mom closely, and the others follow in order, making sure they don’t get lost. This way, they all stay safe and together. In a queue, everyone knows when it’s their turn, just like the ducks know when to follow.