Crime is defined as an act that violates the law and is punishable by a fine, imprisonment, or both.