Gilenya works by modulating the immune system. It prevents lymphocytes (a type of white blood cell) from leaving the lymph nodes, thereby reducing their availability to attack the central nervous system, which helps to decrease the frequency of MS relapses.