How do cars pollute the environment?

Cars pollute the environment because smoke comes out of their muffler and smoke is bad