Compression stockings exert mechanical pressure on the legs, which helps compress the superficial veins, arteries, and muscles. This pressure aids in pushing the blood back towards the heart, thereby preventing venous stasis and improving overall venous return. From a histological perspective, this reduces the risk of endothelial dysfunction and maintains the integrity of the blood vessel walls.