How to create a dropdown such that it depends on another dropdown?

Say there is a table containing regions. And there is another table containing schools. The schools belong to a region. If I am to provide a dropdown in admin panel for region, and, then want to provide a dropdown for schools, then, the schools dropdown list options should be populated based on the option selected in the region dropdown. How to achieve this functionality?