Uniforms identify the wearer as belonging to a specific organization, usually one with authority.
Police, fire, military, the post office and others use the uniform to be recognized for the service they provide. It also allows them to recognize each other.
In organizations with various ranks, the uniform identifies those who have a higher authority than others.
Uniforms are also a means of showing pride in the organization.