What is clomid?

Megan
So the DH and I haven't gotten into the fertility stuff just yet but I keep seeing posts about clomid. What is it supposed to do or help with?