The blood-brain barrier surrounds the blood vessels that run through the brain, letting in oxygen and nutrients while keeping out toxins and pathogens.