People in Rio speak Brazilian Portuguese. Some can speak English but if you’ll definitely want to learn a few basic phrases in Portuguese and if you’re struggling, use the Google Translate app to communicate with people. I found it really helpful when getting in taxis.