This is pretty simple, in the sense that; Oviparous animals do not undergo any embryonic change in the womb. Females deposit eggs that develop and hatch in the external environment.
Viviparous animals are animals that undergo embryonic change in the womb. The egg is retained in the womb and it develops into a young animal (offspring) that is capable of surviving in the external environment.
It can be confusing for people to figure out the differences between oviparous and viviparous animals. Oviparous animals are those whose embryos do not change while inside the womb of their mothers. Viviparous animals, on the other hand, experience some changes while they are inside the womb. The womb is the place where viviparous animals develop so that they can be ready to face and live in the world when they come out.
Those that are oviparous are usually lain in eggs and they will hatch when they are ready. Viviparous animals would still need the care of their parents once they come out of the womb. They will also be given food so that they can survive.