Rank

Rank is a system of hierarchical relationships within a culture, civilization, military. Usually the uniform denote the bearer's rank by particular insignia affixed to the uniforms.

Ranks were used in Starfleet like in the military. Starfleet used insignia and different uniforms to denote the bearer's rank.