Importance of a SWOT analysis in Marketing

What is the importance of a SWOT analysis in relation to a Marketing plan and program?