Reusable rockets can save SpaceX millions of dollars, since the company doesn't have to start from scratch and build a whole new rocket every time.
Rockets obviously need a lot of tests to make sure they are ready to go to space. The test SpaceX was conducting September 1 was a static test fire. According to SpaceX, the explosion occurred "in preparation for [the] static fire."