Electric breast pump

I was wanting to buy the 199.00 medela pump. Does this plug in or do you need to keep recharging batteries? Any recommendations? I know nothing about how this works. Any other recommendations around that price? Tia :)