A queue is a container that:
We use queues in real life: when you go to a bank, you wait in a queue (or line-up) and the next person to be served is the person at the front of the queue; that is, the person who has been waiting the longest to be served. Similarly, in a grocery store, you wait in a queue to have your groceries checked out.
Now, some questions you may have about the container include
The std::queue data structure is very efficient, and has already been described.