For an intuitive presentation you can check Gilbert Strang "Introduction to linear algebra".
The determinant of a square matrix is defined as a number which satisfies the following basic properties:
a. $det(I) = 1$
b. If you exchange 2 rows of a matrix, the absolute value of the determinant does not change, only the sign is reversed
c. The determinant is linear in each row:
- c1- if you multiply one row of a matrix by k, the determinant is multiplied by the same factor:
$$ \begin{vmatrix} k*a & k*b \\ c & d \\ \end{vmatrix} = k* \begin{vmatrix} a & b\\ c & d \\ \end{vmatrix} $$
- c2 - row addition $$ \begin{vmatrix} a_{1} & b_{1} \\ c & d \\ \end{vmatrix} + \begin{vmatrix} a_{2} & b_{2} \\ c & d \\ \end{vmatrix} = det\begin{vmatrix} a_{1} + a_{2} & b_{1} + b_{2} \\ c & d \\ \end{vmatrix} $$
From this 3 basic properties you can prove all other properties and formulas.
For instance:
if 2 rows are equal, the determinant is $0$ (follows directly from b)
subtracting a multiple of one row from another row does not change the determinant (from the above and c2)
the determinant of a diagonal matrix is the product of the diagonal elements (from 1 and 3a)
Using the above properties, you can already compute the determinant of a 3x3 matrix - using c1, you can decompose a 3x3 matrix in 27 parts, out of which only 6 have a non-zero determinants:
$$
\det(M) =\begin{vmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \\ a_{31} & a_{32} & a_{33} \end{vmatrix} =
= \begin{vmatrix} a_{11} & 0 & 0 \\ 0 & a_{22} & 0 \\ 0 & 0 & a_{33} \end{vmatrix} +
\begin{vmatrix} a_{11} & 0 & 0 \\ 0 & 0 & a_{23} \\ 0 & a_{32} & 0 \end{vmatrix} +
\begin{vmatrix} 0 & a_{12} & 0 \\ a_{21} & 0 & 0 \\ 0 & 0 & a_{33} \end{vmatrix} +
\begin{vmatrix} 0 & a_{12} & 0 \\ 0 & 0 & a_{23} \\ a_{31} & 0 & 0 \end{vmatrix} +
\begin{vmatrix} 0 & 0 & a_{13} \\ a_{21} & 0 & 0 \\ 0 & a_{32} & 0 \end{vmatrix} +
\begin{vmatrix} 0 & 0 & a_{13} \\ 0 & a_{12} & 0 \\ a_{31} & 0 & 0 \end{vmatrix} =
a_{11}a_{22}a_{33}+a_{12}a_{23}a_{31}+a_{13}a_{21}a_{32}-a_{31}a_{22}a_{13}-a_{32}a_{23}a_{11}-a_{33}a_{21}a_{12}.
$$
The minus sign correspond to those matrices which requires an odd number of row exchanges to bring them to diagonal form.
For the second part, if you consider that edges of the box are the column vectors of your matrix M, than it's easy to show that the volume of the box comply with the 3 properties of the determinants,
which means that the volume is the determinant.