Ketoconazole body wash is primarily used to treat fungal infections of the skin, including conditions such as athlete’s foot, ringworm, and jock itch. Its antifungal properties help to eliminate fungal growth and alleviate associated symptoms like itching, redness, and inflammation.