What was the goal of "victory gardens"?

A. To encourage eating in restaurants
B. To reduce the labor needed on farms
C. To train citizens for farming jobs
D. To end dependence on imported crops