A land form such as a spit or bar which forms an isthmus between an island and a mainland shore, or between two islands .