What is the meaning of Legwork?

Work, especially research or preparation, that involves significant walking, travel, or similar effort.

Skillful or vigorous use of the legs, as in dance or sports.

Source: wiktionary.org