What is the primary function of a subordinate character?

A subordinate character if often necessary for class distinction. Class distinction is often relevant to a work because it assists with the character development and gives readers an idea of the role they play.