I believe it is rather difficult to make a blanket statement regarding all gym facilities.
Lately, we been seeing many “gym facilities” that are low-cost. So to say that that they are “safe” or venues where one can get reliable and accurate information on health fitness and exercise (at least from my perspective) is a bit broad.
Then you have other “gym facilities” that are much more expensive and are willing to take the time to search for a look for candidates that are well-prepared to create a safe environment. One hasn’t even taken into consideration the mission and vision of the facility in question.
However, I understand your question as asking, what is the overall objective of a gym? If I were to answer it from that perspective, I would have to say that it is a place where people can engage in physical activity.