Why is iodine supplement necessary for pregnant mothers?

Around the world, every year, 18 million newborn babies are born with mental retardation due to iodine deficiency by pregnant mothers. Therefore, pregnant mothers need to supplement with iodine during pregnancy.