Describe a negative-feedback mechanism and give an example.