Hello friend! Hope you find this response helpful! :)
If you apply a force over a given distance - you have done work. Work = Change in Energy. If an object's kinetic energy or gravitational potential energy changes, then work is done. The force can act in the same direction of motion. Or, the force can act against the motion.