How do flat irons work?

When the polished heated plates go past the cuticles it straightens them out