How to get Bash version number in Mac OS

Following command can be used to know the bash version in Mac OS.
Execute the following command to know the bash version.
bash --version
When I execute the above command I get the followings.

GNU bash, version 3.2.57(1)-release (arm64-apple-darwin21)
Copyright (C) 2007 Free Software Foundation, Inc.
      

Image showing the command and it's output.