The use of tools is often considered a hallmark of advanced intelligence. Octopuses are among the few invertebrates known to use tools, a behavior that was once thought to be exclusive to primates. They have been observed using coconut shells as shelters, and manipulating rocks and jets of water to defend themselves or to hunt. This ability to use tools suggests a level of foresight and planning that is remarkable for an invertebrate.