As per apnaqanoon,The criminal law prohibits conduct that causes or threatens the public interest; says warns people of the acts that are subject to criminal punishment, so for serious and minor offenses; and imposes punishment to protect society and to satisfy state of mind for retribution