A leitmotif associated with Aerith is played several times throughout Final Fantasy VII ; it is first heard during the flashback scenes with Aerith 's mother at her house , and is repeated as she is killed by Sephiroth . It was composed by famed Final Fantasy composer Nobuo Uematsu . The piece " Flowers Blooming in the Church " is based on it .