Infrared radiant panels use the same principle as the sun
It is easy to feel the difference between having the rays hit your body and when they stop (for example when the sun is blocked by a cloud).
The rays of the sun do mainly not heat the air but the bodies they hit.
The sun is the world’s best heater. The rays used for heating are the infrared rays.