The purpose of machines is to convert energy into work.