Electromagnetic waves are a form of energy waves that have both an electric and magnetic field. Electromagnetic waves are different from mechanical waves in that they can transmit energy and travel through a vacuum. Electromagnetic waves are classified according to their frequency.