a black rock that produces heat
A black rock that produces heat would have thermal energy. It is called a coal.
Coal produces heat and it is black