Why are caverns hot?

I'll remember that next time I'm down some draughty, spray-swept Northern English cave in Winter!

Caves might be hot in the tropics - I've seen plenty of pictures of cavers in T-shirts in them - but most are not at all hot! The mean temperature of a reasonably extensive cave is usually the mean annual temperature of the air in the region in which it is situated, possibly a bit cooler.