What is the primary purpose of sewage treatment plants?

A. To remove contaminants from sewage before release into the environment
B. To collect and transport sewage directly to residential areas
C. To generate electricity from sewage