Chinese temple
A Chinese temple is a worship place of the Chinese folk religion/Shenism, where people revere ethnic Chinese gods and ancestors. They can be distinguished into:
miào (庙) or diàn (殿), simply meaning "temple" and mostly enshrining nature gods or national gods;
cí (祠), cítáng (祠堂), zōngcí (宗祠) or zǔmiào (祖庙), referring to ancestral temples, mostly enshrining the ancestral gods of a family or clan.
These temples are different from:
Taoist temples and monasteries: 觀/观 guàn or 道观 dàoguàn;
Chinese Buddhist temples and monasteries: 寺 sì or 寺院 sìyuàn
Gōng (宫), meaning "palace" is a term used for a templar complex of multiple buildings, while yuàn (院) is a generic term meaning "sanctuary" or "shrine".
Overview
Shen temples are distinct from Taoist temples in that they are established and administered by local managers, village communities, lineage congregations and worship associations, and don't have professional priests, although Taoist daoshi, fashi, Confucian lisheng, and also wu and tongji shamans, may perform services within these temples. Shenist temples are usually small and decorated with traditional figures on their roofs (dragons and deities), although some evolve into significant structures.