An offence is doing something that breaks a law.