The legs of beetles help them to walk, run, swim, and dig. All beetles have six legs that is made out of several parts. Each leg ends in two to five small segments called "tarsi". The last tarsus (the singular of tarsi) of each beetle “foot” has one or two claws on the end of it. Most beetles use their legs to walk or run. Some beetle legs are flat and have long hairs on them. These kinds of legs are found on water beetles. Beetles that often dig in soil have flat legs with spines or horns at the edges. Flat legs with horns are called fossorial legs. A few beetles have large hind legs, similar to those of grasshoppers, which help the beetle to jump. Flea beetles are an example of jumping beetle.