The Vinaya Pitaka
It is the Discipline basket, which deals with rules and regulations for the monastic community (sangha). It contained 227 rules for monks, and guidelines for the interaction between the monks, nuns and laity (members of the monasteries). Most of the rules come from the Buddha’s response to situations in the community.