Let the volume of the cylinder be $V$, the area of its base be $A$, and its height be $h$.
The formula for the volume of a cylinder is given by: $$ V = A \cdot h $$ We are given that the volume $V = 500 \, \text{m}^3$ and the area of the base $A = 25 \, \text{m}^2$.
Substitute the given values into the formula: $$ 500 = 25 \cdot h $$ To solve for $h$, divide both sides by 25: $$ h = \frac{500}{25} = 20 $$ Therefore, the height of the cylinder is 20 m.