A fungal nail infection occurs from the overgrowth of fungi in, under, or on the nail. Fungi thrive in warm, moist environments, so this type of environment.
Toenail fungus can be caused by sweat in your shoes and socks and during the summer you should change your socks more often and wash your feet to remove the fungus causing bacteria.