Mycophenolate mofetil is an immunosuppressive medication primarily used to prevent organ rejection in transplant patients and to treat autoimmune diseases. By inhibiting lymphocyte proliferation, it reduces the immune response, allowing for better acceptance of transplanted organs and management of autoimmune conditions.