classical physics turned out not to work when the things being studied were very, very small (around the size of atoms or smaller), or were moving very, very fast (around the speed of light). so, around the beginning of the twentieth century, albert einstein worked out his theory of relativity and people like neils bohr, werner heisenberg. and erwin schrödinger created quantum mechanics.