A substance added to a fuel or lubricant to keep parts clean. In motor oil formulations, the most commonly used detergents are metallic soaps with a reserve of basicity to neutralise acids formed during combustion.