The transform command is used to replace any letter or a number with another, for example, capitalizing letters or transforming numbers into different numbers.
It works like the tr command.
You can use it like this:
$ sed 'y/abc/ABC/' myfile
The transformation applies to the entire stream and can't be limited.