sports and how energy functions