MATE transporters are located primarily in the liver and kidneys. They function by exchanging intracellular toxins and drugs for extracellular protons, thereby maintaining cellular homeostasis. This process is essential for the removal of xenobiotics and endogenous compounds, ensuring that these substances do not accumulate to toxic levels.