I know that:
$\frac{1}{T} = f$
For some oscillation or sinusoidal wave. For instance, a period of 2 has a frequency of 1/2
And, in the physics I have taken the formula would be like the one given above for period and frequency. So, I am confused as to the difference between the relation of frequency to wavelength and frequency to period.
For instance, the relation for EM waves is
$f = \frac{c}{\lambda}$ where c is the speed of light.
I get that T and $\lambda$ are different things but I don't get why this leads to the different relations above.