Why do we need a Test Plan? What are the contents of a test plan?

Why do we need a Test Plan? What are the contents of a test plan?

A Test Plan is a detailed document that describes the test strategy, objectives, schedule, estimation, deliverables, and resources required to perform testing for a software product.

A Test Plan is a detailed document that describes the test strategy, objectives, schedule, estimation, deliverables, and resources required to perform testing for a software product. Test Plan helps us determine the effort needed to validate the quality of the application under test.

The format and content of a software test plan vary depending on the processes, standards, and test management tools being implemented. It could be:
Introduction
References
Features to be / not to be Tested
Approach
Test items, etc.