The best description of the purpose of dialogue in characterization is:
Dialogue reveals a character's personality, beliefs, and attitudes through their speech.
While dialogue can serve multiple purposes in a story, its role in characterization primarily revolves around revealing who a character is through what they say and how they say it.