How does an induction cooker heat food without a flame?
An induction cooker passes alternating electric current through a coil beneath its surface, creating a changing magnetic field. This induces electric currents in suitable cookware, generating heat in the pan itself. The hot pan then transfers heat to the food.
Most household induction cookers need cookware with a magnetic base, such as cast iron or compatible stainless steel. A magnet sticking firmly to the base is a useful initial check, but follow the appliance’s instructions. The glass surface can become hot from contact with the pan, so it can still cause burns after cooking.
Source: US Department of Energy: Induction Cooking