Basic principle of waste water treatment