To take a screenshot on an Google Pixel 6 phone, you must press the Power key and the Volume down button at the same time.
As a result, the screenshot will be placed in the gallery. After that, you can use the image to share it on social networks, instant messengers, or keep it as a photo.