For large areas or small they are fitted with child proof locks and are very strong and stable.
You can have looped top or straight as in the picture below.
The picture below is a custom designed and built fence around a small pool. The space between the bars have been narrowed to prevent small dogs from squeezing into the pool area.