The Buddha's teaching contains three major principles: discipline, meditation and wisdom. Wisdom is the goal and deep meditation or concentration is the crucial process toward achieving wisdom. Discipline through observing the precepts, is the method that helps one to achieve deep meditation; wisdom will then be realized naturally.
Buddha's entire teachings as conveyed in the sutras never really depart from these three principles. Buddhism encompasses the entire collection of works by Buddha Shakyamuni and is called the Tripitaka. This can be classified into three categories: sutra, vinaya (precepts or rules), and sastra (commentaries) which emphasize meditation, discipline, and wisdom respectively.