Shell-model calculations are now playing key roles to investigate a wide variety of properties of nuclei owing to the developments in realistic nuclear potentials from chiral EFT and ab initio methods like IMSRG to derive effective interactions for a valence space