A short cylindrical array of microtubules and associated proteins found at the base of a eukaryotic cilium or flagellum that is similar in structure to a centriole. The basal body serves as a nucleation site for axoneme growth.