How chemistry can make your ironing easier

I hate ironing, I’ll do more or less anything to avoid it. So faced with a giant pile of laundry I got easily distracted. I started to wonder why those shirts emerged from the machine looking like a tangled bag of rags. How come the cotton clothes get crumpled so easily? And what’s with easy-iron garments, why don’t they need so much pressing?