The ovarian vein is responsible for draining deoxygenated blood from the ovaries to the inferior vena cava on the right side and to the left renal vein on the left side. It plays a crucial role in the venous drainage system of the female reproductive organs and can be involved in conditions such as ovarian vein thrombosis and pelvic congestion syndrome.