Those metabolic reactions involved in the synthesis, utilization and/or degradation of eicosanoids. Eicosanoids are derived from omega-6 or omega-3 fatty acids and derivatives. Examples include the leukotriene and the prostanoid classes, the latter represented by several families. Eicosanoids play important roles in the immune and vascular systems.