The Iron core simply assists in the translocation of electron molecules being knocked out of place drawing another electron in which creates a greater force of magnetism. So, in conclusion it amplifies the magnetic attraction between the electromagnet(s).