Who won the most overall medals at the Beijing Olympics?

China did, the main sport that they won all the gold and silver medals for was gymnastics.