Apple (AAPL) Watches can now detect irregular heart rhythms.

The iPhone maker on Thursday introduced the Apple Heart Study app, dubbed "a first-of-its-kind research study using Apple Watch's heart rate sensor to collect data on irregular heart rhythms and notify users who may be experiencing atrial fibrillation (AFib)."

The app calculates a person's heartbeat using LED lights flashing hundreds of times per second powered by the sensor of an Apple Watch, along with light-sensitive photodiodes, to identify the blood flow through one's wrist.

Then using various algorithms, the watch isolates heart rhythms from other sounds, and the Apple Heart Study app applies this technology to detect an irregular heart rhythm.

"Every week we receive incredible customer letters about how Apple Watch has affected their lives, including learning that they have AFib. These stories inspire us and we're determined to do more to help people understand their health," said Jeff Williams, Apple's COO. "Working alongside the medical community, not only can we inform people of certain health conditions, we also hope to advance discoveries in heart science."

The Apple Heart Study app is available in the U.S. App Store to consumers who are 22 years or older and have an Apple Watch Series 1 or later.

Apple is a holding in Jim Cramer's Action Alerts PLUS Charitable Trust Portfolio . Want to be alerted before Cramer buys or sells AAPL? Learn more now.

More of What's Trending on TheStreet:

More from Stocks

The Stakes Are High for FAANG Stocks This Time Around

The Stakes Are High for FAANG Stocks This Time Around

Profit From the Good Side of Bad Selloffs: An Illustration

Profit From the Good Side of Bad Selloffs: An Illustration

Data Regulation on FAANG's Could Just Be Underway: Cramer's Investing Teach-in

Data Regulation on FAANG's Could Just Be Underway: Cramer's Investing Teach-in

Your Need to Know - Forward Look

Your Need to Know - Forward Look

A Guide to Investing in the Fast-Emerging Cannabis Industry

A Guide to Investing in the Fast-Emerging Cannabis Industry