convert one type of energy to other type​