Imagine that the curve revolve around the z-axis, and you can divide this volume into as many cylinders as u like to approximate this volume,
volume of cylinder,
V_{cylinder} = \pi r^2l
but in this case, the r = y, l = dz
thus, your small cylinder volume, dV
dV = \pi y^2 dz
by integrating...