Buzzing Sound

I have a 2002 Monte Carlo. Occasionally while driving I will here a buzzing noise and on the message center the battery light will come on for about 5 seconds and then the brake light for 5 seconds and go off. Any ideas?