What is the purpose of precepts?

The purpose of precepts is to train and tame the false self, and to help develop the mental faculties of energy, mindfulness and concentration.  Adhering to the precepts also allows the mind to experience freedom from remorse, guilt and shame; those unwholesome states are hindrances to subtle states of mind and the realization of Nibbāna.