Air conditioning on 2008 Chevrolet Cobalt

I just purchased a 2008 chevy cobalt and when I turn the air conditioner on it makes a loud vibrating/humming noise. It also does it sometimes when the heat is on. Any idea what this might be?

Asked by for the 2008 Chevrolet Cobalt
Probably your fan blower motor