The Importance of Legal Discovery in Civil Lawsuits

How does the process of legal discovery work in a civil lawsuit, and why is it crucial in the litigation process?