Mycophenolate mofetil (MMF) is an immunosuppressive medication primarily used to prevent organ transplant rejection. It works by inhibiting the proliferation of T and B lymphocytes, which are key cells in the immune system. MMF is also used in treating autoimmune diseases, such as lupus and rheumatoid arthritis.