Any compound that can render an animal unconscious of painful stimuli. Anaesthetics can be used either at a local level, when sensation is removed from a specific area of the body; or at a general level, when a state of complete unconsciousness is induced.