In the centuries since Boston’s founding, Deer Island has been used as an internment camp for Native Americans, a point of entry for Irish immigrants, and a prison. Now it’s home to a waste-water treatment plant and a state park.