TMs are Technical Machines that allow trainers to teach their Pokemon certain Attacks that they normally can't learn by Leveling Up. TMs have been around since the first Mainstream Pokemon Games, and as of a few Generations ago, TMs have an unlimited amount of use, meaning they can be used over and over again without breaking. In total, there are a hundred different TMs to be found and obtained in Pokemon Sword & Shield. Many of them will be found on the ground during your journey, but some will be given to you from certain characters while others can be purchased from certain PokeMarts and characters.
We have questions and answers related to this topic which may also help you: