What does a Pagoda do?

A pagoda is a tower built across East Asia with stacked curved roofs, and its central wooden pillar helps it gently sway instead of cracking in an earthquake!

▶ what THAT home do?!