1-dimension is a line, right?
You can get a square (2 dimensions) by taking 2 lines and connecting them.
You can get a cube (3 dimensions) by taking 2 squares and connecting them.
Theoretically, if we had a 4th spatial dimension, taking 2 cubes and connecting them would give you a
tesseract, a "4-D cube," which we can only see represented as a 3-dimensional net, much as you'd draw a 2-dimensional net of a cube.
The people on youtube who keep saying "u nubs 4 dimention is time wtf is this" annoy me to no end. Yes, your science teachers have told you the 4th dimension is time, it runs perpendicular to the other 3. This is a THEORETICAL fourth SPATIAL dimension, repeat SPATIAL, just like left-right, front-back, and up-down. The fancy undulating 3-D images you're seeing are just virtual representations of a 4-dimensional object. Yeesh.