The laws of electromagnetism tell us that energy can be transferred from one object to another:

The transfer of energy is in the form of radiation and radiation is in the form of electromagnetic rays and these rays do not need any material medium to propagate.

4