The blood-brain barrier (BBB) is formed by endothelial cells of the brain capillaries, astrocyte end-feet, and pericytes. It selectively restricts the passage of substances from the bloodstream into the brain, protecting neural tissue from toxins and pathogens.