Application type detection

Hello, I would like to know how the Mac makes the difference between each application. For example, how does it, when screen time is activated, detect that an application is a game and not another (I mean apps that have been installed from the Internet and not the App Store). What would be the variable to change so that the app is no longer detected as a game, but rather as another piece of software. Thanks in advance for any help.

Application type detection
 
 
Q