Fence

Fences can be found in build mode and, in The Sims 2 and The Sims 3, are usually accompanied by gates. Fences can also be used as railings.