difference between electrostatic precipitator and chimney

difference between electrostatic precipitator and chimney