The only similarity is that in both mechanical and electromagnetic waves, each is as oscillation where each point of the wave can act as an independent source of a spherically propagating waves that add together (or a circular wave on water, or a linear wave in a string).