My 2006 330i jumps when the ac is on or when I stop on 2006 BMW 330i

The car start to jump frequently when I'm on a red light or stopped anywhere and it does it even more when the ac is on

Asked by for the 2006 BMW 330i
Yes , the same exact thing happens to me in my 2006 330i I'm curious to know what's the problem as well, I always thought it was the tranny.