From Cornell University: "The Swamp Sparrow has longer legs than other members of its genus; this adaptation allows it to wade into shallow water to forage. This species even sometimes sticks its head under water to try to capture aquatic invertebrates."