The closest response to how selection is used in an algorithm is:
to ask a question
Selection in algorithms typically involves making decisions based on conditions, which can be thought of as asking a question (e.g., if a condition is true or false).