What is a function of the placenta in mammals?

One function is the supply of nutrients to the fetus.