The impulse for heart beat originates in the SA node and causes the atria to contract first, atrial systole followed by the ventricles, ventricular systole. After contraction the chambers go into diastole, which is the period of relaxation and blood fills the chambers during this period.
Courtsey: Mariana Ruiz Villarreal