The matrix is a computer program which was implemented by a government now controlled by a bunch of computers running Artificial Intelligence programs.