As user HMS Mike said, they act as keys for the mold. Usually used in conjunction with a mold casing made from a harder material. An alternative method for making these is simply to chuck some silicone into an old ice cube tray, which will give you nice uniform blocks for future mold keying!!