The blood-brain barrier is a protective mechanism that helps maintain a stable environment for the brain.The blood–brain barrier is formed by the cells that line the smallest blood vessels in the brain. It has anatomical structures, such as tight junctions, and physiological transport systems that handle different classes of substances in different ways.The blood-brain barrier closely controls both the kinds of substances that enter the extracellular fluid of the brain and the rates at which they enter.