The earliest community of Buddhists was thus the shramanas or arhat to whom the Buddha preached.
They moved around and preached to others, except during the months when the monsoon rains were prevalent, when they stayed in shelters, which became the earliest Buddhist monasteries.
During monsoon period, these arhats or early monks would practice meditation, one of the important elements of attaining enlightenment.