A microwave heats food with electromagnetic waves, while a convection oven uses hot air circulation to cook food.