How did tang get its wealth?

Can you answer this question?