a factory produces goods