Ankle sleeves work by providing compression and support to the muscles, tendons, and ligaments surrounding the ankle joint.