Here "heart" represents the whole person. The anxious thoughts of the writer are spoken of as if they were a fire burning inside him. Alternate translation: "I became very anxious when I thought about these things" (See: [[rc://en/ta/man/translate/figs-synecdoche]] and [[rc://en/ta/man/translate/figs-metaphor]])