We study the adsorptions of nucleic acid bases adenine (A), cytosine (C), guanine (G), thymine (T), and uracil (U) and four amino acids phenylalanine, tyrosine, tryptophan, alanine on the single-walled carbon nanotubes (SWCNTs) and boron nitride nanotubes (SWBNNTs) by using density functional theory. We find that the aromatic content plays a critical role in the adsorption. The adsorptions of nucleic acid bases and amino acids on the (7, 7) SWBNNT are stronger than those on the (7, 7) SWCNT. Oxidative treatment of SWCNTs favors the adsorption of biomolecules on nanotubes.