Fundamentals of biological treatment I