Dogs like to bite at them while they are flying. Again, getting to a veterinarian is very important. Some dogs, like humans, are allergic to bee stings, and drug injections might be needed. Compost piles are another hazard. Although many animals are attracted to them, it's best to steer pets away because the bacteria that break down garbage produce toxins.
Insecticides are a third garden hazard if they contain pyrethrin.
Pyrethrin is a neurological toxin that has natural and synthetic forms. Keep your pets out of vegetable and flower gardens. Encase compost piles or use commercially-made containers. Keep pets off lawns sprayed with chemicals. Read the product label or ask the lawn care company for proper drying time and compounds used.