Onions and garlic can be kept fresh in a kitchen for between three and six months, but the vegetables should not be stored in the fridge or in plastic bags