How heat is produced by sources of heat?