Selection in programming is a programming construct that allows a program to run sequences of code depending on whether a condition evaluates to true or false. It is used to make choices depending on the information and is one of the three basic logic assemblies in computer programming, the other two being sequence and loop. In the assembly of a selection, a question is asked, and based on the answer, the program takes one of two paths of action, after which the program moves on to the next event. Selection is also called a decision. An algorithm can be made smarter by using IF, THEN, and ELSE functions to reiterate instructions or to move the process in question to different parts of the program. Selections enable including more than one route in a program, and many solutions require multiple choices or decisions, and these choices result in various possible routes which the program can take. Without selection, it would not be possible to contain diverse routes in programs, and the solutions we come up with would not be realistic. Selection is implemented in programming using IF statements.