The mute switch let's you mute game noises for example, so you can listen to your own music while playing a game.
It works the same across all iOS devices now.
I think it was a mistake for Apple to change it from Mute to Rotation Lock in the first place. It would have been less confusing if they had just left it as Mute.