Question: what are the three major functions of dialogue?
Answer: Dialogue reveals character. What people say and how they say it, and how they respond to each other, tells us a lot about them. It provides information. The challenge is doing this without it being obvious. ...  It advances the plot.