In hospitals, doctors use a heart rate machine to measure a patient's heart rate, and the sound of a beating heart can be heard.