What were the 2 big parts of ancient economies?

Where? When?