I will briefly discuss how the first images of the supermassive black holes M87* and Sgr A* were obtained by the EHT collaboration. In particular, I will describe the theoretical aspects that have allowed us to model the dynamics of the plasma accreting onto the black hole and how the comparison between the theoretical images and the observations on a broad range of frequencies has allowed us to deduce the presence of supermassive black holes and to extract information about the accretion process. In addition, I will describe the lessons we have learned from these imaging process about strong-field gravity and alternatives to black holes and some recent ideas about light rings and ultra-compact objects.