What exactly is the difference between brand name and generic medications, or is there any difference at all?

Intro song:  Citrine by Toonorth, End music: Takin' You For a Ride by Pandrezz, more music at: http://chillhop.com/listen