I want to know the answer to the following question:
Why did monasteries have gardens?
All the background I'm provided with is that "These gardens continued the practical value of earlier "physic gardens", often associated with monasteries, in which plants were cultivated for medical use.". Is that enough to answer the question?