It describes a quality or characteristic, in this case, the quality of being heartless, causing pain, or showing a lack of compassion.
For example:
* "The cruel king punished his enemies." (Describes the king)
* "She was cruel to her pet." (Describes her behavior)