A novel, light-controllable, bioengineered humanized biatrial tissue model was established and could be used to model different atrial arrhythmias, for drug testing, for disease modeling, and for evaluation of novel therapeutic interventions such as biological pacemaking and optogenetic interventions.