When babies are born vaginally, they pick up helpful bacteria from their mum as they pass through the birth canal.