That it's easier to list the place where cavalry
can fight. Open plains with good solid ground.
Then again you don't want closely packed infantry in jungles, nor artillery in swamps, nor your logistical tail through a desert, nor to have to attack with anything up a mountain, nor to have to face, with a ground force, an enemy that lives on an island (Venice). In sum, there is a reason if armies made battles essentially by appointment for a long time, and they chose some nice open field for that. That was good for cavalry and for everyone else.
If OTOH you want to keep away an enemy cavalry army, all of the above work well. As mentioned, the Venetians used islands, the surviving Spanish Christian kingdoms used mountains, the Soviet partisans used swamps (to fend away armored cavalry - the four-legged cavalry still was something of a threat to them), etc.
Yes, it is true what some have mentioned, that you can use cavalry in deserts. But if you are defending against that, you can: you must deny them the water. Fortify and maintain control of the oases and wells, or, at worst, be ready and willing to poison them before the enemy takes them.