While both are designed to manage water runoff, drainage, and erosion, a ditch is a linear, excavated channel that is typically deeper and narrower than a swale. Ditches can be used to transport stormwater and agricultural runoff, often with minimal regard to the surrounding ecosystem, while swales are designed to optimize the infiltration of water back into the ground.