A Queue is defined as a linear data structure that is open at both ends and the operations are performed in First In First Out (FIFO) order. The element which is first pushed into the order, the operation is first performed on that.