Buying multiple lenses can be very expensive, so a zoom lens gives you the benefit of multiple focal lengths in one lens.
There are two kinds of lenses: a prime lens has a single focal length and a zoom lens has a range of focal lengths. Buying multiple lenses can be very expensive, so a zoom lens gives you the benefit of multiple focal lengths in one lens.