Jews every year sacrificed sheep, lamb, goat (never camel or pig as they have the hoof thing) because the animal (which has to be healthy and perfect) used to take their sins away. Christians no longer sacrifice as Jesus (the only sinless person ever) took the sins of the world.
A lot of islamic customs were formed in Medinna and learned from the Jews there. Muslims today sacrifice animals for no good reason.