Microfluidic device for the formation of optically excitable, three-dimensional, compartmentalized motor units