Maternal antibodies, primarily Immunoglobulin G (IgG), are transferred to the fetus via the placenta and provide passive immunity for the first few months of life. Additionally, breastfeeding supplies Immunoglobulin A (IgA), which plays a critical role in protecting mucosal surfaces like the gastrointestinal tract from infections.