A corral is used to keep slimes on a ranch. The open-air corrals are designed for maximum slime satisfaction, with the rich soil of the Range beneath them and its expansive sky above them. Slimes will remain perfectly happy within corrals as long as they are fed regularly.
Remember: You can shoot things THROUGH a corral barrier. Handy!