Immunity acquired by a baby through breastfeeding is passive acquired immunity, as already formed antibodies in the mother's body are transferred to the baby through breast milk.