What causes a knocking sound on left side of car when accelerating and slowing? on 2001 Volvo S60

the engine runs smooth but there is a knocking coming from the left side of the car when I accelerate or slow down.

Asked by for the 2001 Volvo S60
maybe a bad lifter or foul plug