Pool fences are required by most area building codes. They have to meet specifications for height and strength, and can be made from almost any fence material or style.
Properly fencing your pool or yard containing a pool reduces your liability from accidents.