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