A worm fence, also known as a snake fence or zig-zag fence, is a type of fencing made by laying and weaving angled branches or split logs between wooden stakes or posts. Its unique design allows it to be flexible and adjust to the terrain without requiring much digging or cutting. In some regions, it is also called a Virginia rail fence or a Kentucky fence. This style of fence is often used as a decorative element in rural settings or to enclose livestock pastures. The term "worm fence" likely originates from the way the fence appears to be wriggling across the landscape, like a worm.