These two diagrams illustrate the sampling theory. The first is for ideal sampling, where the sampling train is made up of impulses.
The second diagram is when using what is called practical sampling, where the sampling tain is made up of impulses of some width (small rectangles).
In these diagrams, time domain and the spectrum are shown before and after sampling.