Certainly, July and August can be almost unbearably hot and humid in most big cities, but some find an odd, ghostly pleasure in being in Rome on Ferragosto (on and around 15 August) when the city is abandoned to the cats and the crazy. 
Some people enjoy spending time in Rome in the middle of August when most people are inside.