The purpose that the flashback serves in Act II of Our Town is to explain how George and Emily fell in love.
Before said flashback, The Stage Manager appears and says that before continuing with the story, we need to find out how George and Emily’s relationship began in the first place, and presents the situation where George and Emily first knew that they were meant for each other while having ice-cream at the local drugstore.