The boolean variable allows the ability to request that the user selects a boolean (true or false) value.