A fence is a structure that encloses an area, typically outdoors, and is usually constructed from posts that are connected by boards, wire, rails or netting. A fence differs from a wall in not having a solid foundation along its whole length.
Alternatives to fencing include a ditch (sometimes filled with water, forming a moat).
A balustrade or railing is a kind of fence to prevent people from falling over the edge, for example, on a balcony, stairway (see railing system), roof, bridge, or elsewhere near a body of water, places where people stand or walk and the terrain is dangerously inclined.
The following types of areas or facilities often are required by law to be fenced in, for safety and security reasons:
Fences can be the source of bitter arguments between neighbors, and there are often special laws to deal with these problems. Common disagreements include what kind of fence is required, what kind of repairs are needed, and how to share the costs.
In some legislatures the standard height of a fence is limited, and to exceed it a special permit is required.
Servitudes are legal arrangements of land use arising out of private agreements. Under the feudal system, most land in England was cultivated in common fields, where peasants were allocated strips of arable land that were used to support the needs of the local village or manor. By the sixteenth century the growth of population and prosperity provided incentives for landowners to use their land in more profitable ways, dispossessing the peasantry. Common fields were aggregated and enclosed by large and enterprising farmers—either through negotiation among one another or by lease from the landlord—to maximize the productivity of the available land and contain livestock. Fences redefined the means by which land is used, resulting in the modern law of servitudes.