Margot Heuman was 14 when she and her family were deported to Theresienstadt in 1943, a Jewish transit ghetto for those who would be sent to the death camps. Her father died there. Her mother and younger sister would perish later in the camp at Stutthof. But Margot survived, she said, because she had fallen in love with a Viennese girl named Dita Neumann, and their relationship and caring for each other had kept them alive.

After Bergen-Belsen, the site of Dita and Margot’s final internment, was liberated in April 1945, Dita was sent to England and the Swedish Red Cross brought Margot to Stockholm, where she was cared for by a schoolteacher who had volunteered to take her in. In 1947, she moved to New York to reunite with her mother’s brother. She attended City College, and later married Charles Mendelson, an accountant. She died on May 11 at a hospital in Green Valley, Ariz. She was 94. She is survived by a son and a daughter, five grandchildren and one great-grandson.

She and Dita remained friends throughout their lives. Dita became a nurse and married a doctor in Canada. When she died of cancer in 2011, Ms. Heuman was at her side.