The word "effect" can indicate the influence of some things or factors on another thing or situation. The function can be positive, negative, direct, indirect and so on, and the specific effect can be beneficial, harmful, effective, ineffective and so on. In different situations, the specific meaning and effect described by "function" may be different.
For example, the role of a drug is to treat diseases, good communication skills can improve work efficiency, and the role of marketing activities is to promote product sales.
"Action" can also describe the mode and relationship of action of participants, components and forces in a dynamic process. For example, how the functions and interactions of various parts in a mechanical system work together to achieve specific functions; The ecological function between different biological individuals in the life system and its influence on the whole ecological environment, etc.
In a word, "function" is a very broad concept, which can cover many meanings. Understanding the specific meaning of "function" needs to be determined according to the situation, and different situations may require different explanations and definitions. Function is the final effect of an object as a means and tool in a certain time (or absence), a certain space (or absence) and a certain process.
I understand now that young people always prefer to praise outstanding heroes in history, while ignoring the promoting role of ordinary people in the historical process. For centuries, the role of the people has been forgotten and their indelible achievements have been distorted. -Eisenhower