All the physical forces can be used to generate energy, in other words you can use physical force to produce work. I am interested in the question: What are the sources of energy causes the effect of gravity, the force of attraction and repulsion of permanent magnets and spring’s force? I understand it is a global question. I will be grateful for your reply on the part of the question.