Untreated human excreta contains pathogens, organic matter, and nutrients that contaminate both soil (through surface application or leakage) and water bodies (through runoff or direct discharge). This contamination spreads waterborne diseases, degrades ecosystems, and makes water unsafe for human use, affecting both environmental compartments.