Heartworm diseases in pets are caused by the parasitic worms of the same name. Scientifically, the worm is called as Dirofilaria immitis, which infects the heart and lungs, particularly, their blood vessels resulting in health issues as mild as cough to as severe as heath failure.