Codurance interview question

Why are the SOLID principles used?