How did the Aztecs use slaves to benefit their economy?

Slaves were used to fight against other tribes.
Slaves were sold for profit in neighboring city-states.
Slaves were used to keep records for the civilizations.
Slaves were sacrificed to the gods for prosperity in return.