Barbed wire is a type of fencing wire that features sharp edges or points arranged at intervals along the strands. It was invented in the late 19th century and has since become a staple in agricultural and residential fencing. Its primary purpose is to deter animals and intruders, making it a popular choice for farms, ranches, and secure properties.