A floodwall is a freestanding, permanent, engineered structure designed to prevent encroachment of floodwaters. Floodwalls are mainly used on locations where space is scarce, such as cities or where building levees or dikes would interfere with other interests, such as existing buildings, historical architecture or commercial use of embankments.