Remote Management allows control of your computer from other devices. This should only be allowed in rare cases and disabled once finished. Learn more on Apple Support page.
Generally speaking Remote Management is pretty secure. But security is best done in layers, because, from time to time, even Remote Management might have security vulnerabilities. So it's best to keep it turned off when you're not using it.