Biodegradable detergents can be degraded by bacteria. They have straight hydrocarbon chain. Example includes sodium lauryl sulphate.
Non-biodegradable detergents cannot be degraded by bacteria. They have highly branched hydrocarbon chains. Example includes sodium−4−(1,3,5,7−tetramethyloctyl)benzene sulphonate