How does fossil fuel transform potential energy into other types of energy?