Discovery maps the workflow
Before a line is written we sit with the people doing the job and write down what actually happens, including the parts nobody documented and the spreadsheet somebody keeps on their own machine. That map is what the application is then measured against.