While the alternator and the battery work in harmony to start and power the vehicle's electrical systems, they do not die at the same time. Therefore, you don't need to replace the battery when replacing the alternator. Although, sometimes, a defective alternator will affect the charging system and weaken the battery cells. If this happens, you'll need to replace the battery cells or replace the whole battery and the alternator.