Gym is just a small fitness centre, not adults only for dodgy reasons!
Access using a chip, a circuit of machines to be used in order, each of which has your profile saved (each machine needs your chip to start, your weights and seating position are set and there's guidance on a screen to use the machine correctly, following along).
In addition there are four warm up machines - each a different type, which can also be accessed using the chip and your preferred workout saved, but these also have a guest setting.
Tbh I used to feel uncomfortable at the largely unstaffed gym Ivwas previously a member of, for several reasons but one was that parents let their children crawl under the turnstiles and play on the equipment while the parent trained. I like kids and work with them, but don't want them at the gym plus (maybe because of my job, or maybe most people are like this) I felt constantly a little on edge that a child would get into difficulty/ hurt and this was distracting. I joined this gym as part of an attempt to get over a real slump I've been in, specifically because its 18+ and usually staffed (but not, it turns out, on Sundays).
Today there was a child of about 9 on the piece of warm up/ cool down equipment I'm most comfortable using for the whole time I was there, until I eventually worked out who he was with and asked his mum to let me use the equipment for my cool down - she did, but not with particularly good grace.
YABU - nothing wrong with parents letting their kids into the gym and letting them occupy themselves on the equipment, don't be such a spoilsport.
YANBU - the parents are cheeky fuckers and you wouldn't be doing anything wrong if you dropped a WhatsApp to management about the issue.