Salesforce interview question

URI Parameters vs Query Parameters: What’s the difference and when would you use each?