The #! (shebang) at the beginning of a script tells the system which interpreter should execute the script. In Bash scripts, #!/bin/bash specifies that the script should be run using the Bash shell. But how does this work across different shells, and why is it important?