Local anesthetics are medications used to numb specific areas of the body during medical procedures. They work by blocking the sodium channels in the nerve cells, preventing the transmission of pain signals to the brain. These medications are commonly used in both adults and children, including neonates.