What purpose does this part of the story serve?

to build tension in the story
to provide a solution to the problem
to introduce a main character
to break the tension of the story