Input (grade 11): Although there is some heat loss due to conduction, there is a net increase in energy (and therefore temperature) inside the greenhouse.
Output (grade 10): It is because the suns heat warms the plants and soil (dirt) inside the greenhouse and they stay warm through the night, because the heat can not escape.