Local anesthetics work by blocking sodium channels in nerves, limiting the propagation of action potentials and producing loss of sensation in a specific area. Early local anesthetics like cocaine and procaine had limitations. Lidocaine, introduced in 1940, was a major breakthrough as the first modern local anesthetic due to its quick onset of action, duration of several hours, and minimal allergenicity. The two classes of local anesthetics are esters and amides; amides are preferable due to lower risk of allergic reactions. Factors like lipid solubility, pH, vasoconstrictors, and dosage levels affect the onset and duration of local anesthetics.