Clomid question

We have been TTC for a yr and 2 mos I went to my Dr yesterday and she set me up to try clomid. I've never heard of it before. Can anyone explain to me the how's and whys? All she said was it induced ovulation and possible multiples. Thanks :)