Basically, the USA bombed a few nuclear sites which didn't hinder Iran's nuclear program in order to appease Netanyahu who needed to show some sort of Israeli win for his political base. Trump gets to pretend it was all for peace and he stopped WWIII, which he'll now be nominated for a Nobel Peace Prize for. Iran retaliates so they still seem like an effective threat for their base and they "won" by being a deterrent to the USA/Israel attacking Iran.
Everyone wins except for a little damage to some buildings. All the people in their respective countries all now support their leaders even more so despite the leaders literally accomplishing nothing. It was all an act. Complete and total theatre.