Many people believe that they speak Spanish in Brazil, but the commonly used language of the country is Portuguese. Such a mistake can take place because of a lot of similarities between these languages, especially for an inexperienced listener.

More Info: en.wikipedia