the Riesz representation theorem is perhaps the mathematical "keystone" that connects our pictures of the discrete and continuous worlds. without this theorem, mathematicians could not have rigorously defined integration over expressions involving Dirac delta functions (something that physicists had first intuited without proof).
It allows us to transfer ideas about inner product spaces over to their dual spaces of linear functionals: