Given the task definition and input, reply with output. You are given a sentence and your task is to generate another sentence that supports the given input.

Light can also travel at various speeds in different media, producing a frequency at which the wave travels.

Different media affect the speed of light.