Read the following text:
A garden is a planned space, usually outdoors, used for growing plants such as flowers, herbs, and vegetables. It can also be used for relaxation and recreation. There are many types of gardens, including flower gardens, herb gardens, and vegetable gardens.
What is the main purpose of a garden?