Alternator

if the car is charging taking the bat post off will not stop the engine but if it's not charging it will die .