Crime is an action or instance of negligence that is considered injurious to the public welfare and is defined to be illegal by law.