Gravitational waves vs. electromagnetic waves