Resonant states and their role in nanophotonics. (6th December 2021)