A queue is a non-primitive linear data structure that follows the first-in, first-out (FIFO) principle, where new elements are added to the rear end and existing elements are deleted from the front end. Common real-world examples of queues include lines at the printer, cashier, bank ATM, and the operations of a queue include enqueue to insert an element, dequeue to remove an element, and checking if the queue is full or empty.