When I turn on my car and it is in drive, the car begins to vibrate or cuts off. on 2001 BMW 325i

Sometimes when at a sitting light, the car will just cut off or it vibrates.

1 answer
Could be a number of issues. Could be tune up, fuel, etc. Is there a check engine light on? If so, I would take it to a shop so a mechanic can check it out.