Read everything you need to know about the Magento 2 Modes: Default, Developer, Production and the method to change the modes.
Magento 2 Modes:
Default - when no other mode is specified
Developer - to do all the development tasks
Production - for live Magento 2 sites
For the details, visit https://meetanshi.com/blog/magento-2-modes/