The architecture of Thailand is a major part of the country's cultural legacy and reflects both the challenges of living in Thailand's sometimes extreme climate as well as, historically, the importance of architecture to the Thai people's sense of community and religious beliefs. Influenced by the architectural traditions of many of Thailand's neighbors, it has also developed significant regional variation within its vernacular and religious buildings.