Heartworm is a parasitic roundworm spread through mosquito bites between hosts. It infects dogs, cats, wolves and other animals. Early infection may show no symptoms, but later symptoms can include coughing, fatigue after exercise, weight loss, and fainting as the worms accumulate in the heart and lungs, eventually causing heart failure if left untreated. Diagnosis involves blood tests to detect microfilariae or antigens or chest x-rays to assess lung damage. Treatment requires a drug to kill adult worms along with restricted exercise for several weeks to prevent further damage. Monthly preventative medications including ivermectin, milbemycin or selamectin can reduce the risk of infection.