How does the catholic rank structure work?

With all of the drama in the Irish catholic priests and bishops, it leads me to wonder how the catholic(for lack of better words) "rank structure" works. Priests, Bishops, Cardinals... I don't really understand how it all works and I am very curious. Anyways, thanks alot!
10 answers 10