Captive populations are used for educational purposes, the exhibition of rare species, research, and for conservation. Many zoos have used captive breeding as a way to prevent the extinction of species that have had difficulty in maintaining their populations in the wild.