Switch statements provide a way to select one of many code blocks to be executed based on the value of an expression.