Generally, chemicals are added to water, and a device such as a brush or cloth-covered handle is dipped into the resulting solution and used to scrub glass.
Chemicals added to the solution range from dish soap and glass cleaner to Trisodium Phosphate and etching salt.