Energy is provided by the breakdown of ATP inside the cell ... The proteins pump sodium out of the cells and potassium into the cells. This helps nerve cells to transmit nerve impulses.