If you have a series 4, I would have thought you knew what your own watch is capable of already...
The
ECG feature is an app on the Watch, and you can take it on Series 4 and later.
The heart rate feature is also an app, but Apple Watch periodically checks your heart rate in the background as well, (without you needing to open the app) so that it can
alert you on high/low heart rate.