What are Military Ranks?

There are different levels in each military. For the most part the ranks are the same. There are sergeants, general, captain and lieutenant.