In the context of simple harmonic motion, what role does the acceleration due to gravity (g) play in a pendulum's motion?
A) It determines the amplitude of the pendulum's swing.
B) It influences the period of the pendulum's oscillation.
C) It affects the frequency of the pendulum's oscillations.
D) It has no effect on the pendulum's motion.