Why are all gym clothes made from polyester? I can't stand it.

Cotton gets super sweaty so not the best either. What else is there?