Chocolate is toxic to dogs because it contains theobromine, which dogs cannot metabolize effectively. Theobromine affects the heart, central nervous system, and kidneys, potentially causing seizures, heart failure, and death. Dark chocolate and baking chocolate are most dangerous due to higher theobromine content. Veterinary treatment is essential if a dog consumes chocolate.