Computer crime refers to any criminal act involving a computer or network. There are two main categories of computer crime: crimes that directly target computers, like computer viruses and denial-of-service attacks, and crimes facilitated by computers but whose primary targets are independent of the computer network, like using computers to commit identity theft. Computer crime encompasses a broad range of illegal activities involving the use of computers and networks.