If the car won't start at all, the battery is dead. If the car starts but dies after it runs, there is an issue with the alternator. If the car runs, but won't hold a charge, it could be either the battery or alternator that is causing the problem.