If you need to dig deeper into the dependencies that brew has installed on your Mac, you can show a complete dependency tree using:
brew deps --tree --installed
If you need to see who relies on a specific target Formulae:
brew uses --installed <targetFormulae>
REFERENCES