What is the primary function of a cyclotron in physics?
A) To accelerate charged particles
B) To generate magnetic fields
C) To measure gravitational forces
D) To produce X-rays