Cervical Mucus

What exactly is cervical mucus aka CM??? And when do you get it?