From looking at images of the carnivore immersive exhibits at Bioparc Valencia, I became curious of what barriers are used to stop carnivores (notably lions and hyenas, but also others such as meerkat) from leaving their enclosure - this was unclear in the images. I also noted the lion enclosure overlooks ungulate enclosures - what barrier is used here?
The lion's exhibit is divided from the ungulates via a large moat invisible to the public. The hyenas are also divided by a similar system, with the only exception of them being able to access part of the moat. The meerkats seem to have the same, only that on a minior scale.
From what I remember from my visit there, I believe the fence between the lions and the visitors is a regular glass viewing area.
There is both: A window as @Rayane wrote but also a moat, dividing visistors from an elevated/balcony area from the lions in a (little) lower area (sorry about this weird description but I think most know what I mean).. An example of the view from this "balcony" is here: African lion exhibit in Bioparc Valencia