Ventricular fibrillation occurs when there is rapid or chaotic heartbeat due to the ventricles (lower chambers of the heart) beating too fast and losing its pump function. It is a life-threatening and emergency condition.