A bug is an error or failure in a computer program.