In Windows, The PrtScn does the magic. Macbook has a built function to capture screenshot press ⌘ command+shift+4.
In Linux, just pressing PrtScn button lets you capture the screen.
In Chromebook, pressing ctrl+ buttons are enough to get the work done.
In an iPhone 8 Plus & earlier, push down the Sleep/Wake and Home button simultaneously.
In iPhone X and Later Press Sleep/Wake+Volume up Buttons at same time.
You have learned how to take a screenshot in any Windows, either it is XP or Windows 10, Macbook either it is Air or Pro, Linux either Ubuntu or Mint, Android either Pie or Oreo, Chromebook, and PC.