Why when you push on the gas it dies but when its idle it runs fine?
It could be a few things depending on how old the car is and
other things. The easiest thing would be to have the fuel filter
changed as it could be getting clogged and the increased flow of
acceleration actually plugs it more. Others will probably add other
things to check too, but this is inexpensive. I believe the fuel
pump could also be going bad if it is an older car. It's probably
fuel starved, possibly low fuel pressure or a restriction in the