It doesn’t need a medium to travel, it’s not actually a wave as others have said. However, you might be interested to know that at one point it was theorized that light traveled through the “ether”. The experiment to disprove this is pretty interesting: https://en.m.wikipedia.org/wiki/Michelson%E2%80%93Morley_experiment .
Latest Answers