Compression socks apply graduated pressure, which is strongest at the ankle and gradually decreases as it moves up the leg. This gradient pressure helps to push blood back towards the heart, preventing blood from pooling in the lower extremities and reducing the risk of edema and clot formation.