All materials radiate thermal energy in the form of electromagnetic waves. When this radiation falls on a second body, it may be partially reflected, transmitted, or absorbed. It is only the fraction that is absorbed that appears as heat in the body.