Read the paragraph and answer the question.
"The young inventor worked diligently in her workshop. She faced many failures, but each one taught her something new. Her perseverance finally paid off when she created a device that could purify water using solar energy."
What does "perseverance" mean in this context?