White stuff on panties

What is that white residue that shows up on your underwear? Sometimes I have it alot, sometimes not at all. It can have different consistencies and different amounts. Heard that it was something to do with fertility, please explain this to me and what it means and what to expect?