Dear Doctor – Why grapes and raisins are a definite no

Q Ive heard many times that grapes and raisins are toxic to dogs, but how?