Electromagnetic waves can travel through a vacuum. Because they do not give up energy in traveling, Electromagnetic waves can cross the great distances that separate stars and galaxies. Rays from the Sun travel nearly 150 million kilometers to reach Earth's surface.