priority queue

Can somebody please explain to me how the stl priority_queue works(not at an implementation level..more like how to use it)? And a few examples will help a lot. I googled a lot but I couldn't understand some things.
Topic archived. No new replies allowed.