This study delves into the intricate relationships among the constituent elements, wave speed, and energy of both mechanical waves and electromagnetic waves. By establishing connections with the string vibration equation, a compelling revelation emerges. Upon equating the energy and constituent element mass of one wave cycle of a homogeneous string with those of a single wave cycle of electromagnetic waves, it is evident that the wave speed derived from the string vibration equation consistently matches the constant speed of light. From this, a hypothesis takes root: electromagnetic waves manifest as waves resulting from the vibration of a uniform, elongated string-like material. The phenomenon of superluminal speed further fortifies the validity of this conjecture.