Factories are often at the heart of a community.