Efficient photocatalytic nitrogen fixation under ambient conditions enabled by the heterojunctions of n-type Bi2MoO6 and oxygen-vacancy-rich p-type BiOBr.