Surviving is not enough to stay.
Gardens and common spaces give the colonists a place where they do not work.
Leisure gives the colonists somewhere not to work. For 500 science and twenty minutes it opens the Garden under a dome and the Mess hall, from certification 7, when happiness starts to move.
From certification 7, happiness falls 6 points per hour played and with each building that is cut. The Dining Room gives 1 point every 5 minutes and the Garden 3: the two ways of bringing it back.
Certification 8 asks for the Garden in service and 40 happiness collected since the previous certification. The tier of happiness changes what the lots of mines, factories and crops give, from −20% to +10%.
It continues in Leisure II, from certification 11, with a building that gives more happiness in the same space.