Look Under System Settings
On both Windows and macOS, you can go to the system settings. For Windows, navigate to Settings -> System -> About. For macOS, click on the Apple icon and select 'About This Mac.' Both will provide detailed information about your laptop generation.