No image device is capable of capturing and displaying the full spectrum of colors visible to the human eye. Consequently, image devices record, edit, display, or output a subset of those colors. This range of reproducible color is known as the device’s color gamut. Additionally, devices capture, process, and display different ratios between the lightest and darkest parts of an image, from pure black to brightest white. This luminance range is known as dynamic range. Together, these attributes define an image’s or device’s color space
https://support.apple.com/en-au/guide/motion/motn3f5342e9/mac
These terms are often used interchangeably and become a bit mangled.
Or put another way: