Volleyball players wear Spandex shorts because it makes them more aerodynamic so they can quickly get the ball. It also keeps them cool.
Western dress codes
Sportswear or activewear is clothing, including footwear, worn for sport or physical exercise. Sport-specific clothing is worn for most sports and physical exercise, for practical, comfort or safety reasons.
Cycling shorts (also known as bike shorts, bicycling shorts or knicks) are short, skin-tight legwear designed to improve comfort and efficiency while cycling. They:
Historically, cycling shorts were made of knit black wool, which hides oil and grease stains, with a chamois leather patch inside the shorts in the crotch area, which reduces chafing from the bicycle saddle. Modern cycling shorts are often made of spandex (Lycra) with a synthetic chamois lining and are produced in a variety of shapes and styles to suit the needs of different riders. For example, the patterns used for the chamois on women's cycling shorts tend to be quite different from those used for men's.]unreliable source?not in citation given[ The hem of each leg is usually lined with elastic and/or silicone that clings to the skin, keeping it in a fixed position.
Compression garments are pieces of clothing such as socks, pantyhose, sleeves, etc., that provide support that is especially useful for people who have to stand for long periods, or people with poor circulation. The garments can come in varying degrees of compression. The higher degrees require a doctor's prescription. Compression garments worn on the legs can help prevent deep vein thrombosis and reduce swelling, especially while traveling.
Compression sportswear are also worn by some athletes during exercise to prevent chafing and rashes, and post-exercise to ease muscle stiffness and quicken recovery time.