The main purpose of exposition is to provide background information.
An exposition is where writers put important background information like the character's past, the setting, or past events significant to the story. It also serves as an introduction to the characters and where the problem of the story establishes.