What does the saying necessity of mother of all inventions mean?

It is "Necessity is the mother of invention"