The country is one of the most prosperous in the Caribbean thanks largely to petroleum and natural gas production and processing .