Compression stockings apply graduated pressure to the legs, with the highest pressure at the ankles and gradually decreasing up the leg. This gradient compression helps push blood back up toward the heart, reducing the pooling of blood in the lower extremities and preventing edema and clot formation. The pressure helps maintain blood flow and reduces the risk of venous insufficiency.