The terms systole and diastole are used in the context of the cardiac cycle, which describes the sequence of events during one heartbeat.