The difference between the two is that swamps usually have deeper standing water and are wet for longer periods of the year, according to the National Parks Service. Marshes have rich, waterlogged soils that support plant life, according to National Geographic.
Hope it is helpful