WP Themes works for both sites?

Hello. I have question. I wanna buy one of ThemeForest themes but, all we know Wordpress have two sites .com and .org. My question is - these themes works for both pages?

Yes but you need to be on the business package on WordPress.com - https://en.support.wordpress.com/themes/uploading-setting-up-custom-themes/