Local anesthetics are medications used to cause a temporary loss of sensation in a specific area of the body, allowing medical procedures to be performed without pain. They work by blocking the transmission of nerve impulses, primarily by inhibiting sodium channels in the neuronal cell membrane.