Question: what part of the world is costa rica in
Answer: Costa Rica ( / ˌkɒstə ˈriːkə / ( listen ) ; Spanish : ( ˈkosta ˈrika ) ; `` Rich Coast '' ) , officially the Republic of Costa Rica ( Spanish : República de Costa Rica ) , is a country in Central America , bordered by Nicaragua to the north , Panama to the southeast , the Pacific Ocean to the west , the Caribbean Sea to the east , and Ecuador to the south of Cocos Island .