Enlist The Different Ways And Command To Check FSMO Roles

What is an FSMO role and tell me more about the five FSMO roles? What are the different and variant ways in which I can check FSMO roles? And what is the command for monitoring the FOSMO role?
