Dogs suffering from heartworms are, in fact, infested by the organism Dirofilaria immitis, a parasitic nematode (roundworm) commonly referred to as the heartworm. The severity of this disease is directly dependent upon the number of worms present in the body, the duration of the infestation, and the response of the host (the infested dog is the host).