Present sewage treatment releases ammonia and sulfur compounds, contributing to foul smells, climate change, and acid rain. Nitrogen is lost to the atmosphere as N2 and N2O. Better management could separate solids for biogas, store liquids to extract ammonia and other nutrients as fertilizers using seaweed, and dispose of residual salt water. This avoids air and water pollution while recovering valuable nutrients.