Crystals vibrate at very precise frequencies, so they produce precisely tuned outputs. So, a crystal is an oscillator, but there are other types of oscillator circuits. When we use an oscillator in an electronic circuit, it generates some kind of oscillations in it.