All activity in a microcontroller needs to be controlled from a master clock source. This is provided by a crystal, or sometimes a separate oscillator module that contains a crystal, or sometimes a ceramic resonator, which is a cheaper and less accurate type of crystal.
Often, a microcontroller...