Accelerators were invented to provide energetic particles to investigate the structure of the atomic nucleus. Since then, they have been used to investigate many aspects of particle physics. Their job is to speed up and increase the energy of a beam of particles by generating electric fields that accelerate the particles, and magnetic fields that steer and focus them. There are two main types of accelerators: circuar and linear.