A pan has shallow walls so you can’t move food around too much without causing a mess and oil splatter, which is a lot at high temperature cooking. An electric wok can also be used as a steamer because it comes with a lid and high enough walls to place a steamer basket or rack inside.