A solar cooker consists of an insulated metal box which is painted black from the inside. Inside the box, there is a thick glass sheet and a plane mirror reflector.
The food is placed in the containers, which are also painted black from the outside. The metal containers are then placed inside the solar cooker.
The sun rays fall on the reflector and get reflected to the box and get trapped within the box.