What can make the car loose power when I press the gas while driving? on 2005 Chevrolet Malibu

While driving and I accelerate it feels as though the car looses power, it kind of feels like it backfires but theres no noise, and the speedometer needle jumps around(I don't know if the problems are related) .

Asked by for the 2005 Chevrolet Malibu