This is a latex swimming cap.
Sometimes known as a bathing cap.
Swimming caps are worn for several reasons, protect the hair from chlorine in swimming pools, keep hair relatively dry, even help keep the head warmer and to reduce drag in competitive swimming races.
They can also be compulsory in some pools to stop loose hair clogging filters.
Swimming caps can be made of lycra, silicon or latex, they are normally tightly fitted