"The heart rate sensor in Apple Watch uses what is known as photoplethysmography. This technology, while difficult to pronounce, is based on a very simple fact: Blood is red because it reflects red light and absorbs green light. Apple Watch uses green LED lights paired with light‑sensitive photodiodes to detect the amount of blood flowing through your wrist at any given moment. When your heart beats, the blood flow in your wrist — and the green light absorption — is greater. Between beats, it’s less. By flashing its LED lights hundreds of times per second, Apple Watch can calculate the number of times the heart beats each minute — your heart rate.
"The heart rate sensor can also use infrared light. This mode is what Apple Watch uses when it measures your heart rate every 10 minutes. However, if the infrared system isn’t providing an adequate reading, Apple Watch switches to the green LEDs. In addition, the heart rate sensor is designed to compensate for low signal levels by increasing both LED brightness and sampling rate."
And that's how the Apple Watch measures your heart rate. I know it's a mouthful, but all together now -- PHO-TO-PLE-THYS-MO-GRA-PHY.