We study the localization of fermions on a brane embedded in a space-time with ${\mathrm{AdS}}_{n}\ifmmode\times\else\texttimes\fi{}{\mathrm{M}}^{k}$ geometry. Quantum numbers of localized fermions are associated with their rotation momenta around the brane. Fermions with different quantum numbers have different higher-dimensional profiles. Fermion masses and mixings, which are proportional to the overlap of higher-dimensional profiles of the fermions, depend on the fermion quantum numbers.