a factory is used for manufacturing