Didn't Buddha talk about heavens and hells?

What about the notion expressed in some Buddhist paintings that monks who abuse animals will be tortured in a hell?

Peace.