how is a cell similar to a factory?