What kind of habitat do purple martins live in?

Purple martins (Progne subis) are highly social birds that live in colonies, typically in open areas with access to water. They nest in cavities, often in man-made structures such as birdhouses or specially designed purple martin houses. These houses are usually mounted on poles or other tall structures, providing the birds with a safe and elevated place to nest and roost. Purple martins prefer open habitats, such as farmlands, parks, and residential areas, where they can find insects to feed on. They also require access to water for drinking and bathing, and often forage near ponds, lakes, or rivers. Additionally, purple martins prefer areas with relatively few predators, such as hawks, owls, and squirrels.