People can see religious elements in buildings of Buddhist temples and some explanations are offered here with pictures of Beijing's Yellow Temple.
The pillar-like decoration on the roof symbolizes triumph. [Photo by Lily Dong/China Tibet Online]