Yes, chocolate is harmful to dogs because it contains theobromine and caffeine, which can be toxic to them. The severity of the toxicity depends on the type of chocolate and the amount consumed by the dog. It's best to keep chocolate away from dogs to prevent any health issues.