Function of the cardiac muscle?

It contracts and relaxes continously during the animal life time.