The function of LPIN2 (lipin 2, ENSG00000101577) is as follows. Acts as a magnesium-dependent phosphatidate phosphatase enzyme which catalyzes the conversion of phosphatidic acid to diacylglycerol during triglyceride, phosphatidylcholine and phosphatidylethanolamine biosynthesis in the endoplasmic reticulum membrane. Plays important roles in controlling the metabolism of fatty acids at different levels. Also acts as a nuclear transcriptional coactivator for PPARGC1A to modulate lipid metabolism. .