The Buddha's teachings, contained in the 'Tipitaka' (Three Baskets) are: the Vinaya (Book of Discipline for the monks), the Sutta (Discourse), the Abhidhamma (an exposition of all realities in detail).
All three parts of the Tipitaka can be an inexhaustible source of inspiration and encouragement to the practice, leading to the eradication of wrong view and eventually of the other defilements. In all three parts of the Tipitaka we are taught about 'dhamma', about everything which is real. Seeing is a dhamma, it is real. Colour is a dhamma, it is real. Feeling is a dhamma, it is real. Our defilements are dhammas, they are realities. When the Buddha attained enlightenment he clearly knew all dhammas as they really are. He taught Dhamma to us in order that we also may know realities as they are. Without the Buddha's teaching we would be ignorant of reality. We are inclined to take for permanent what is impermanent, for pleasant what is sorrowful, for self what is not self. The aim of all three parts of the Tipitaka is to teach people the development of the way leading to the end of defilements.