There are 12 highly useful and the most common Ansible Modules among the 100s.
Ansible Modules are the distinct code pieces used within a playbook task or from the CLI in Ansible. They can run system commands to accomplish a function in Ansible. Also, they can be executed on a remote host/server directly.
Ansible Modules are small-size programs or code units used within the Ansible Playbook. On the other hand, a playbook includes multiple plays, and each play here consists of a task to perform.