Why do volleyball players wear knee socks?

Volleyball players wear knee socks to avoid floor burn. Especially if you're a libero or dive a lot.