Almost all modern lenses for SLRs and DSLRs provide automatic focus.
There are two different kinds of in-lens electronic focus drive motors currently in use, the traditional servo motor and the more modern "ultrasonic" drive systems.