Technically only organic matter in a wastewater can be treated in a biological wastewater treatment system, as microorganisms can use only organic compound as their food source, but some inorganic compounds can also be consumed by the microbes provided you have the right microbial strain in your biological units.