The Temple of Heaven The emperor visited the temple 3 times a year: in the first lunar month to pray for a good harvest; during the summer to pray for rain; In the winter to give thanks for a good harvest.