how is work related to energy?​