Malignancy refers to the presence of cancerous cells that have the ability to grow uncontrollably, invade surrounding tissues, and spread to other parts of the body. This is in contrast to benign tumors, which do not invade neighboring tissues or metastasize.