Original: Many digital cameras have both, combining them by first using the optical, then the digital zoom.
Simplified: Digital cameras sometimes have a function called digital zoom.