A vena cava filter is a small, metal device placed in the inferior vena cava, the large vein that carries deoxygenated blood from the lower body to the heart. Its primary function is to prevent blood clots from traveling to the lungs, which can cause a potentially fatal condition known as pulmonary embolism.