What is a queue?

What is a queue?

Queue is First-in First-out (FIFO) data structure that is widely used in Computer Science World. By the term means, when you want anything to happen in a particular “order” or pattern.