When searching for a functionality of SaltStack, often a state and a module turn up (when searching for "saltstack user" for example, one gets salt.states.user and salt.modules.user).
Reading the documentation, I get the impression that states somehow call modules or rather functions in modules, to achieve having the states set. But it's not very clear to me. Hence the following question:
What is the difference between a module and a state in SaltStack?