Answer: a) To execute a single task on the target hosts
Explanation: The Ansible ad-hoc command is used to execute a single task on the target hosts without using a playbook. It is useful for quick, one-off tasks.