Grapes and raisins are known to be highly toxic to dogs, though research has yet to pinpoint exactly which substance in the fruit causes this reaction.
Unfortunately, grape/raisin toxicity can even be fatal.
Ingesting the fruit could potentially lead to acute (sudden) kidney failure in dogs.