JS rock, paper, scissors - userInput changed to userChoice

Hi! Quick question. I’m finished with the project and my code works. At the beginning of the project we refer to userInput and that changes later to userChoice. Why is that and why does that work?
I appreciate any clarification here. Just trying to understand.