The use of so-called problematic substances — essentially alcohol and performance-impairing drugs — by safety-critical personnel is a threat to aviation safety, which is why the industry and its regulators have developed several preventive measures, the most established of which is drug and alcohol testing.
Fitness for Duty, Aviation Medicine
Problematic Substance Testing
Drug- and alcohol-testing methods differ among jurisdictions, but their goals are the same.