A use case diagram helps system analysts discover system requirements from the user's perspective. It provides a graphic description of users and their interactions with a system. A use case diagram contains actors, use cases, and relationships between them. It shows the system boundary and can be used to design test cases.