Transistors are more than 3 legs
Silllicuim, Gemanium, Mosfets, bjt ujt ...
gains / HFE
voltages
capacitances in some cases
leakage
avalanche
Simple ones, darlington etc ... Matching pairs
List goes on and on, in some projects, simple substitution can work, in other cases they uses caracteristics ...
I have some projects who can only use one transistor kind, no substitutions is found at the moment
You will never get an simple answer
If it was so simple, you would not need tons of brands, tons of part id's etc ... 2sa 2sb 2sc 2sd 2n mje 2sk 2sj ......
You try to find the part who will make everything possible, NOT
Designs take many factors into consideration, calculations, tryouts and errors
You change one part and everything may become messier, bad, less good in specs, noisier etc ...
Audio is not Video, Data is not this or that etc ... applications depends of the needed use, vice versa ...