Apart from food nutrients, mothers' milk contains a range of antibodies which protect the baby until it develops its own immune system. When born, a baby has IgG antibodies from across the mother's placenta. Its own immunoglobulin production takes about six months to develop after birth, so meantime the mother's milk supplies IgA as a stop-gap protection.