It is NOT true because space is almost completely empty. There is nothing to transfer the energy from the sun to the earth.
Hope this helps have a great day...☺
9.4m questions
12.2m answers