How does an induction cooker do that?
Put simply, an induction-cooker element (what on a gas stove would be called a "burner") is a powerful, high-frequency electromagnet, with the electromagnetism generated by sophisticated electronics in the "element"