command line – Explanation /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”

I would like to understand exactly what this command does. I know this command installs homebrew on macOS, but I would like to understand the meaning of the syntax:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

For example:

/bin/bash is the path to the bash folder

what about the other parts?