In a standard cloud service, a "forgot password" link resets your access. On MEGA, if you lose your password and your , your data is permanently inaccessible.
To keep your data safe, security experts from CyberInsider and Internxt recommend several steps: How MEGA Protects Your Privacy and Data
Your main encryption key is generated directly from your password.