The tr command in bash reads input text and replaces characters from one set with characters from another set. For example, echo "hello world" | tr 'a-z' 'A-Z' converts all lowercase letters to uppercase. Each character is processed one by one. Characters not in the first set, like spaces, remain unchanged. This makes tr useful for simple character transformations like changing case or replacing specific letters. The execution table shows each input character, the rule applied, and the output character. This step-by-step trace helps beginners see exactly how tr works.