Chloramine is used in water treatment primarily because of its stability. It remains effective in water distribution systems over longer periods compared to chlorine. This stability helps in reducing the formation of harmful byproducts like trihalomethanes (THMs) and haloacetic acids (HAAs), which are associated with chlorine disinfection.