Doubt by Alrich

sir,  in the numerical of the time period of a pendulum, why have we taken"g" as acceleration and not as force (m*a)?