What is the purpose of the Microsoft baseline security analyzer?

The Microsoft Baseline Security Analyzer is a program that attempts to assess some aspects of the security of an individual computer. It does this by checking two things: whether security updates released by Microsoft have been applied, and whether certain less-secure security settings are present. The security settings are assessed from a fixed list of registry and program checks.