The present invention relates to a cooling device (1), preferably a refrigerator, that comprises shelves (2) with foldable characteristics, allowing the interior volume to be used flexibly and enable storing of the tall food and beverage containers easily by fulfilling the safety conditions.