Anionic detergents work by reducing the surface tension between two liquids or a liquid and a solid. Their negatively charged head groups interact with positively charged molecules, which helps to break apart cellular components. This is particularly useful in histology for lysing cells and solubilizing membrane proteins, which facilitates the preparation of tissue samples for further analysis.