A swimming pool fence is a type of fence placed around swimming pools, to create a passive barrier to restrict the access of small children to the swimming pool.
In the context of backyard safety, a fence surrounding a swimming pool is intended to prevent young children from accessing the pool without adult supervision.