Most species eat small invertebrates picked out of mud or exposed soil. Different lengths of bills allow different species to feed in the same habitat without direct competition for food. Many waders have sensitive nerve endings at the end of their bills which let them detect prey hidden in mud or soft soil. Some larger species, especially those adapted to drier habitats, take larger prey like insects and small reptiles.