DESS selling to grid

So why does the system sell my battery to the grid?