The Cavalieri's principle states that if two or more figures have the same cross-sectional area at every level and the same height, then the figures have the same volume.
Take a close look at the figure below and make the following observations
The geometric figures do not need to be the same type
You could move the plane in black higher or lower. As long as the area of the cross-sectional area is the same and the height is the same, the volume will be the same.
The Cavalieri's principle makes perfect sense when you are looking at two stacks of print paper.
The stack on the left is a right prism and the stack on the right is an oblique prism. I made sure that both stacks have the same height by having the same amount of paper in both stacks.
The area of every cross section is the area of 1 sheet of paper. A sheet of paper right in the middle of the stack on the left will have the same area as a sheet of paper right in the middle of the stack on the right. Therefore the stacks must have the same volume.