how does heart rate monitor work on iphone

maximum heart rate monitoring on iPhone