The branch of quantum mechanics that deals with the behavior of electrons in solids and other materials.