Checking cervix

Please explain how checking the cervix helps you figure out fertility? I am confused about it. Thank you.