  In this paper, we study thermodynamic features of the charged rotating
accelerating black holes in anti-de Sitter spacetime. First, we consider these
black holes as the thermodynamic systems and analyze thermal
stability/instability through the use of heat capacity in the canonical
ensemble. We also investigate the effects of angular momentum, electric charge
and string tension on the thermodynamic quantities and stability of the system.
Considering the known relation between pressure and the cosmological constant,
we extract the critical quantities and discuss how the mentioned parameters
affect them. Then, we construct a heat engine by taking into account this black
hole as the working substance, and obtain the heat engine efficiency by
considering a rectangle heat cycle in the $P-V$ plane. We examine the effects
of black hole parameters on the efficiency and analyze their effective roles.
Finally, by comparing the engine efficiency with Carnot efficiency, we
investigate conditions in order to have a consistent thermodynamic second law.
