The life of a fruit fly consists of four phases: egg, larva, pupa and fully-formed fly. At 25 degrees, the fly embryo hatches one day after the egg is laid, and it then lives for five days as a larva.