An analytical model is presented that qualitatively describes the cooling of a biological tissue after irradiation with short and ultrashort laser pulses. The assumption that the distribution of temperature at the initial moment of surface cooling repeats the distribution of the absorbed laser energy allowed us to use the thermal conductivity approximation in both cases. The experimental results of irradiation of dry bone with nanosecond and femtosecond laser pulses are compared with the calculated data. The necessity of taking into account the change in the optical parameters of hard tissue in the field of laser irradiation during its treatment by nanosecond and femtosecond laser pulses and the key role of residual heating in its carbonization around the exposure region is shown. The application of the model to a particular biological tissue can significantly simplify the search for optimal parameters of lasers for surgical procedures.