Let me add,
All Signals may be represented in the time domain or frequency domain.
They are like two sides of the same coin.
The ability to "view" them in each domain is "handy",
you should pick the one that is the simplest to handle/most useful/best to gain insight etc.
Note that most signals are not periodic as described above,and still both time and frequency apply to them.
It is sometimes referred to as time-frequency analysis/spectral content vs. time.
In general, the Fourier content of a time signal and vice versa .
Here is a complex periodic signal in time and frequency:
Note :
although the signal is periodic,and you could talk about it's frequency to be f0=1/T,
infect, this is only part of the all picture:it relates only to the fundamental frequency of which this signal is "composed".
In the frequency domain we simply have 3 sines combined.
Here is a non-periodic signal and it's "frequency content".
Note:
How simple this pulse(time duration of tau) looks in the time domain and how complex it's content is in the frequency domain.