White Mucus

I'm having a lot of white mucusy stuff coming out , I know someone told me it was normal and a good thing but what is it & what is it's role ?