What’s the difference between a battery and an inverter?
An inverter will convert energy into a usable form to be used in your home or stored in a battery.
A battery allows you to store any power generated from your solar system to use when it best suits you, even when your solar system isn't generating electricity.
Every battery need an inverter before it can be connected to your home. The same goes for solar panels.