What does the expression necessity is the mother of invention mean?

it means that people only invented stuff because they needed something..... the mother, necessity, nurtures and gives birth to new inventions