. Greenhouses work by trapping heat from the sun. The glass panels of the greenhouse let in light but keep heat from escaping. This causes the greenhouse to heat up, much like the inside of a car parked in sunlight, and keeps the plants warm enough to live in the winter.