I’m sorry that your dog is sick. It’s great that you took this pup in and are caring for it! Hopefully he will be successfully treated and do well with you. Heartworms are spread by mosquitoes. Birds don’t get heartworms, which are pretty specific to a few mammalian hosts...