I want to know the answer to the following question:
Why did universities have these gardens?
All the background I'm provided with is that "They were forerunners of the first botanical gardens attached to universities, founded from the 1540s onwards.". Is that enough to answer the question?