What distinguishes bogs, marshes, and swamps from each other?

ABogs are deeper than marshes and swamps, and swamps and marshes have acidic groundwater.
BSwamps are deeper and have a larger proportion of surface water than marshes, and bogs have acidic groundwater.
CMarshes have great biodiversity, while bogs and swamps have more water but less biodiversity.
DBogs, marshes, and swamps are different names for wetlands based on location and not differing characteristics.