Scientists have uncovered fresh insights into how vitamin D affects the immune system and might influence susceptibility to diseases such as multiple sclerosis.