Dogs have played with each other as probably as long as the species existed, but dog parks are a relatively new phenomenon. Dog parks are usually fenced in and can be great socialization locations but they also have a fair number of risks. Please watch this video before taking any dog to a dog park, particularly those who are most at risk - puppies, dogs with fear issues, and rescue dogs.
Also check out
Video 45: Why Dogs Should Play with Other Dogs