Metformin

I was on Metformin for a few months until I stopped taking it. I didn't see no difference and I'm not entirely sure what it was for. I have PCOS.
What does it do and how does it help? 
Did it help you? If so how?