Although the heart, liver, kidneys and general circulation may all be affected, heartworm is primarily a disease of the lungs. A pet's body reacts to the presence of the worms in the blood vessels, resulting in clot formation, bleeding through vessel walls, and inflammation of surrounding lung tissues.