Fact 1: a greenhouse is used to protect plants by keeping them warm. 
Fact 2: Hobby greenhouses used to be small glass houses or fiberglass buildings.
Glass or fiberglass buildings are used to protect plants by keeping them warm.