The cargo bays are huge, enormous rooms where the atmosphere and temperature can be varied to suit the contents. The cargo bays can be kept secure from roving crewmembers if necessary and can store items of any nature (within reason). The Sheffield is unable to create her own food (except for basic supplemental) and so has to store a large proportion of foodstuffs and supplies for her long periods away from starbases.