A .DELTA.5 fatty acid desaturase gene, a .DELTA.6 fatty aciddesaturase gene, and a .DELTA.6 fatty-acid-chain elongase gene areisolated from a single species of Marchantiales. Byintroducing these genes into higher plants, transformedplants which can produce arachidonic acid andeicosapentaenoic acid (EPA) are obtained.