This is because the same process that warms up the earth also takes place in a greenhouse, where the glass structure will capture the sunlight and the area under the glass will heat up. That is why now greenhouse is the widely used term to describe these glass or polycarbonate structures.