What are insulating materials made of and what is their purpose?

Typical materials include Mylar, Nomex and other high quality insulating materials. Insulation is used to electrically insulate turn-to-turn windings, layer-to-layer windings, primary to secondary and other assemblies in the transformer such as the core and busswork.