A leg is a weight-bearing and locomotive anatomical structure, usually having a columnar shape. During locomotion, legs function as "extensible struts". The combination of movements at all joints can be modeled as a single, linear element capable of changing length and rotating about an omnidirectional "hip" joint.
As an anatomical animal structure it is used for locomotion. The distal end is often modified to distribute force (such as a foot). Most animals have an even number of legs.
As a component of furniture, it is used for the economy of materials needed to provide the support for the useful surface, such as the table top or chair seat.
Uniped: 1 leg, such as clams
Biped: 2 legs, such as humans and birds
Triped: 3 legs, which typically does not occur naturally in healthy animals
Quadruped: 4 legs, such as dogs and horses
Many taxa are characterized by the number of legs:
Tetrapods have four legs. Squamates of genus Bipes have only two. Caecilians and many squamate lineages convergently lost their legs.
Panarthropoda: no less than 4 legs. Velvet worms and some arthropods have more than a dozen legs; a few species possess over 100. Despite what their names might suggest, centipedes ("hundred feet") may have fewer than 20 or more than 300 legs, and millipedes ("thousand feet") have fewer than 1,000 legs, but up to 750.
A leg is a structure of gross anatomy, meaning that it is large enough to be seen unaided. The components depend on the animal. In humans and other mammals, a leg includes the bones, muscles, tendons, ligaments, blood vessels, nerves, and skin. In insects, the leg includes most of these things, except that insects have an exoskeleton that replaces the function of both the bones and the skin.
Sometimes the end of the leg, or foot, is considered part of the leg; other times it is considered separate. Similarly, the hip joint or other place where the leg attaches to the main body may be considered separate or part of the leg.
In tetrapod anatomy, leg is used to refer to the entire limb.