Massive galaxies harbor a supermassive black hole at their centers. At high redshifts, these galaxies experienced a very active quasar phase, when, as their black holes grew by accretion, they produced enormous amounts of energy. At the present epoch, these black holes still undergo occasional outbursts, although the mode of their energy release is primarily mechanical rather than radiative. The energy from these outbursts can reheat the cooling gas in the galaxy cores and maintain the red and dead nature of the early-type galaxies. These outbursts also can have dramatic effects on the galaxy-scale hot coronae found in the more massive galaxies. We describe research in three areas related to the hot gas around galaxies and their supermassive black holes. First we present examples of galaxies with AGN outbursts that have been studied in detail. Second, we show that X-ray emitting low-luminosity AGN are present in 80% of the galaxies studied. Third, we discuss the first examples of extensive hot gas and dark matter halos in optically faint galaxies.