A golf balls dimples are often overlooked as just being a design that someone decided looked good when in fact they play a major role in the flight of the golf ball. Ultimately, the dimples increase the drag of the ball slightly. But another big effect is that they increase "Magnus Lift" which is a lifting force experienced by rotating objects travelling through a certain medium. This lift is present because the ball often has backspin when it is driven with a club. Golf balls flights are very different from most objects as they don't follow an inverted parabolic flight. Their flight can be seen in the diagram below.