This tradition originates from old times when Buddha stayed in temples during the rainy season to avoid killing insects or harming the growing seeds. It is a period for study, meditation and teaching of new monks. The monks are allowed to go out during the day but they must sleep in the same temple every night during these three months