A septic system consists of two main parts-a septic tank and a drainfield.