I suggest that you start with two concepts: n-dimensional vector space, and analysis of a waveform into a sum of wave modes.
In a vector space, a vector is a sum of "basis vectors". For each basis vector, there is a coefficient which says how much it contributes to the sum.
In the same way, a waveform is a sum of "basis functions", and for each basis function, there is a coefficient in the sum.
The Hilbert space is a unifying concept which allows you to think of basis functions like basis vectors. The geometric ideas from vector space also apply in Hilbert space. For example, you change from one basis to another basis, and it does not change the total vector / total waveform, it just changes the coefficients in the sum.
In quantum mechanics, the coefficients can be complex numbers, the basis vectors / basis functions are the different physical states, and their probabilities are square of the absolute value of the complex number (Born rule).