A queue in which we are able to insert items or remove items from any position based on some priority is called priority queue.