The purpose of classification is to protect information from being used to damage or cause danger to national security. Classification formalizes what constitutes a "state secret" and deals with different levels of protection based on the expected damage the information might cause if it reached the wrong hands.