Dogs can be trained to detect a variety of illnesses, from heart attacks to panic attacks—even cancer. When they aren’t using their noses to sniff out health issues, they can pay close attention to subtle changes in a person’s behavior that indicate when a problem may be present or on the way.