The purpose of hops is to offset the sweetness of the malt by adding a butteringbittering element. Hops also act as a natural preservative, which the English used to their advantage when sending their ales to India (hence India Pale Ale or IPA).
A friend of mine recently brewed a raspberry beer without any hops, and it turned out surprisingly good. You can substitute other ingredients for hops, but YMMV.