Enzymes in laundry detergents function by binding to specific substrates (stains), breaking them down into smaller, more soluble molecules. For example, proteases break down protein-based stains like blood and sweat, while lipases target grease and oil stains. The specificity of enzymes ensures that they are highly effective in removing particular types of stains without damaging the fabric.