From the sun the heat comes to us by this process is known as radiation.
The transfer of heat by radiation does not require any medium.
It can take place whether a medium is present or not.
A hot utensil kept away from the flame cools down as it transfers heat to the surroundings by radiation.
Our body too, gives heat to the surroundings and receives heat from it by radiation.