What is the purpose of dialogue, and what does it let the reader know?

https://www.google.com/search?q=purpose+of+dialogue+in+literature&rlz=1C5CHFA_enUS705US707&oq=purpose+of+dialogu&aqs=chrome.3.0j69i61j69i57j0l3.10648j0j7&sourceid=chrome&ie=UTF-8