bash:tldr:bc531
This command uses a pipe operator | to redirect the output of the first command ${echo "echo 'bash is executed'"} as input to the second command bash.
The first command ${echo "echo 'bash is executed'"} is using variable substitution with ${}. The value within the brackets, "echo 'bash is executed'", is a string that will be passed as an argument to the command. In this case, the command being executed is echo, which simply outputs whatever is passed to it as an argument.
The output of the first command, which is the string "echo 'bash is executed'", is then piped | to the second command bash, which is a shell interpreter. It takes the string as input and treats it as a shell command, executing it.
So, the overall result of this command is that the string "bash is executed" will be printed to the console.