The theory of quantum phase transitions (QPTs) and excited states quantum phase transitions (ESQPTs) is briefly reviewed. The phase structure and phase diagram of the interacting boson model of nuclei are discussed. Experimental evidence for QPTs in nuclei is presented.