A cytochrome P450 monooxygenase involved in the metabolism of various endogenous substrates, including fatty acids, steroid hormones and vitamins. Mechanistically, uses molecular oxygen inserting one oxygen atom into a substrate, and reducing the second into a water molecule, with two electrons provided by NADPH via cytochrome P450 reductase (NADPH--hemoprotein reductase). Exhibits catalytic activity for the formation of hydroxyestrogens from 17beta-estradiol (E2), namely 2- and 4-hydroxy E2. Metabolizes testosterone and progesterone to B or D ring hydroxylated metabolites. May act as a major enzyme for all-trans retinoic acid biosynthesis in extrahepatic tissues. Catalyzes two successive oxidative transformation of all-trans retinol to all-trans retinal and then to the active form all-trans retinoic acid. Catalyzes the epoxidation of double bonds of certain PUFA. Converts arachidonic acid toward epoxyeicosatrienoic acid (EpETrE) regioisomers, 8,9-, 11,12-, and 14,15- EpETrE, that function as lipid mediators in the vascular system. Additionally, displays dehydratase activity toward oxygenated eicosanoids including hydroperoxyeicosatetraenoates (HpETEs). This activity is independent of cytochrome P450 reductase, NADPH, and O2. Also involved in the oxidative metabolism of xenobiotics, particularly converting polycyclic aromatic hydrocarbons and heterocyclic aryl amines procarcinogens to DNA-damaging products. Plays an important role in retinal vascular development. Under ambient/hyperoxic O2 conditions, promotes angiogenesis and capillary morphogenesis of retinal endothelial cells and pericytes, likely by metabolizing the oxygenated products symptomatic of oxidative stress. Also, contributes to oxidative homeostasis and ultrastructural organization and function of trabecular meshwork tissue through modulation of POSTN expression.