Miao (廟/庙) are buildings in traditional East Asian religions enshrining gods, myths or legends, sages of past dynasties, and famous historical figures.
[1] They are a kind of Chinese temple architecture and contrast with Ci shrines which enshrine ancestors and people instead of deities.
In China, where ancestors are revered with great respect, the Miao has been the most important place in the house since ancient times.
Famous examples are the Kongmyo, known as a World Heritage Site, and the Yushima Cathedral attached to the Shoheizaka Academy in Tokyo.
In Japan, a building dedicated to a specific person is called a Reibyo (霊廟), Byo (廟), or Tamaya (霊屋).