Mechanics of Settings App

How the settings application works?