One of the ways that energy travels through space is by electromagnetic radiation. The light from the sun, the energy used to cook food in a microwave oven, the X rays used by dentists, and the radiant heat from a fireplace are all examples of electromagnetic radiation. Although these forms of radiant energy seem quite different, they all exhibit the same type of wavelike behavior and travel at the speed of light in a vacuum.