Section 40 of the IPC defines 'offence' as anything made punishable by the Special or Local Law, or under the Special or Local Law in force in India. This fundamental definition applies throughout the code and determines what constitutes criminal liability.