Battle.net is a launcher from Blizzard Entertainment for buying, installing and starting its online games. It is aimed at people who play Blizzard titles and want one place to manage their library and updates.
The listing on Homebrew marks it as a Mac app, and the source describes it as an online gaming platform. The facts given do not state a pricing model, so the license and cost are not covered here. The product is published by its maker and linked from the official website.
Alternatives to Battle.net
Products that do a similar job in Game Tools & Emulators.
Heroic
Launcher for Epic, GOG and Amazon Games on Linux
Steam
Game store, installer and updater for Linux
Mythic
Game launcher for running Windows games on a Mac
Prism Launcher
Open source launcher for managing multiple Minecraft installations
GameHub
Launcher for running Windows and Steam games on a Mac
Modrinth App
Launcher for installing and playing modded Minecraft
Lutris
Game launcher that combines emulators and compatibility layers on Linux
BlueStacks
Android emulator for running mobile games and apps on a Mac