D. Erosion occurs through deflation, and sand that was picked up is deposited against an obstruction.
This option accurately describes how erosion and deposition work together in the formation of sand dunes. Deflation refers to the process by which wind removes loose, dry sand particles from the ground, and these particles are then deposited when the wind slows down or encounters obstacles, leading to the formation of sand dunes.