The Code has five major functions:
to define conduct that constitutes a criminal offence;
to set out rules on how people, corporations or other organization can be found guilty of crimes;
to establish some defences that can raised with a charge;
to state what degree of punishment that may be imposed on someone convicted of an offence; and
To describe the powers and procedures to be followed for investigation and prosecution of an offence.