Cats will often willingly lay down on top of a heater if they are feeling warm. This is because they want to keep their body temperature elevated. If the temperature difference between the cat and the heater is too great, this could be dangerous for them. The cat might become very hot and could experience difficulty breathing or a heart attack.