Lifestyle factors such as smoking, diet, and vitamin D levels have been studied in relation to MS. Smoking is considered a risk factor, possibly due to its role in increasing oxidative stress and inflammation. Adequate vitamin D levels, often obtained through sun exposure, appear to have a protective effect against MS.