Chocolate contains two stimulants called theobromine and caffeine, both members of a chemical group known as methylxanthines. While humans metabolize these substances quickly, dogs process them much more slowly. This allows the toxins to build up in their system and affect the heart, nervous system, and gastrointestinal tract.