How do factories create pollution?

Can you answer this question?