Water safety can be determined by analyzing test results for contaminants like bacteria, chemicals, and heavy metals.