The great German mathematician Georg Cantor started with a very precise question whether a function can have more than one Fourier series expansion which led him to discover set theory. In this talk we shall narrate the fascinating story of the invention of set theory by Cantor.