1996 Nissan 200sx battery and brakes on why?

alternator is not working so your battery isn't getting a charge