Ketones are classified as dangerous substances due to their flammability and potential use in synthesizing other hazardous materials.