You would take an exam because you want to pass a test and thus to improve yourself in some way