Text this: Heating and cooling in galaxies and clusters of galaxies