Historically, hops were added to act as a preservative, as the drink was used on ships attempting to sail long distances. The antibacterial properties of lupulin in hops did this quite effectively.
Nowadays we appreciate hops in beer for it's 3 other contributions: bitterness, flavor & aroma. Sometimes all 3 aspects can be done with a single hop varietal, and at other times, it's done with an assortment of hop varietals.
Perhaps the best way to think about hop ratios and their impact is in terms of balance to a beer's flavor profile. Fewer hops generally produce more sweet flavors, more hops - more bitterness. Brewers choose their hops carefully to find just the right balance they seek for the style they're brewing. In addition to bitterness for sake of balance, hops will also have unique flavor and aroma characteristics. The hops chosen will cause certain flavors or aromas that are often compared to pine, citrus, fruit, herbs, floral, grass, etc.