The Indian Penal Code (IPC) is the principal criminal code of India that defines crimes and provides punishments for almost all kinds of criminal and actionable wrongs. The IPC extends to the whole of India except the states of Jammu and Kashmir and is an extensive law that covers all the substantive aspects of criminal law from nuisance at public places to murder, rape, dacoity, etc.