Dialogues have two purposes in the story:
To move the story forward.
To reveal something about the character.
Firstly, before writing any piece of dialogue, we need to understand why we’re writing the dialogue in the first place. Even before the dialogue period (or let’s say the period of silent films), there were a lot of fantastic movies being made.