Spaying a dog involves removing the uterus and the ovaries. Neutering a dog, on the other hand, involves removing the testes from the scrotum.