Electric pulp testing is a diagnostic procedure used in dentistry to assess the health of the dental pulp by applying an electric current to the tooth's surface, which stimulates the nerve fibers within the pulp. This test helps in determining the vitality of the pulp, distinguishing between reversible and irreversible pulpitis, and identifying necrotic pulp tissue.