You can't find the volume for a $2D$ object, but by finding the area of say a square $A$ and multiply by any height $H$ you get the volume of cube with base $A$ and height $H$.
Here's my question. Is the volume of an object made of a very large amount of $2D$ surfaces stacked over each other? If yes, how is that possible? Since A $2D$ surface has thickness of $0$ isn't it like adding an infinite amount of zeroes and expecting to get a number that isn't zero?
You can in the same way you integrate to get an area. You can think of regular integration as adding up the area of small rectangles $y \times dx$. The line segment in $y$ has zero area, but you have a second dimension from the $dx$. Clearly this is an intuitive picture of what is going on. In three dimensions you can do the same thing-you integrate (area parallel to the $x-y$ plane$) \times dz$ to get a volume. The $dz$ thickens up the plane to make an infinitesimal volume.