Athlete's foot is caused by a microscopic fungus that spreads easily in moist environments like showers. It affects the skin of the feet by causing scaling, flaking, and itching, and can spread between people. Treatment involves keeping feet clean and dry, wearing clean socks and shoes, and using antifungal creams or powders for several weeks to eliminate the fungus.