Solar cooker is used to cook food with help of sunlight. The sunlight when it shines on the solar cooker the food inside gets cooked due to the absorbed heat from sun rays. To avoid the escaping of the heat from the solar cooker, solar cooker is covered with glass as sunlight can pass through glass effectively but the heat inside the cooker will not be radiated out.
Hence the solar cooker covered by a plane glass slab will be more efficient as compared to the uncovered one.