Question: how do tms work pokemon?
Answer: In Pokémon Go's implementation: Technical Machines are items you can use to permanently teach a Pokémon a new Fast Attack or Charged Attack. In other words, a TM will let you "re-roll" either the Quick Move or Charge Move for your Pokémon, forever altering its moveset.