However other forces such as the strong nuclear and the electroweak are forces in theories such as the standard model.
Grand Unification theories often are trying to turn gravity into a force this is where mediating particles such as the graviton come into play but these aren’t very successful yet.
It may be that gravity isn’t a force at all and is just an emergent phenomenon from the geometric properties of space time, or it could be both basically two distinct phenomena that cause attraction between massive objects where on a larger scale it’s primarily dominated by the geometry of space time and on the quantum scales by a mediated force with its own field and quanta (particles).