Gudrun grows up behaving sometimes like a boy, sometimes like a girl. After death, she gets a tour of Heaven and its surprises. She is given a job caring for those like herself who have never really come to grips with who they are.
This allows her to understand why she’s had a confused life, and her two halves are reunited.