The surge of photocatalytic transformation not only provides unprecedented synthetic methods, but also triggers the enthusiasm for more sustainable photocatalysts. On the other hand, oxygen is an ideal oxidant in terms of atom economy and environmental friendliness. However, the poor reactivity of oxygen at the ground state makes its utilization challenging. Herein, a visible-light-induced oxidative dehydrogenative process is disclosed, which uses an organoboron compound as the photocatalyst and molecular oxygen as the sole oxidant. Via this approach, an array of N-heterocycles have been accessed under metal-free mild conditions, in good to excellent yields.