Which of the following cells are produced through meiosis?

A. Haploid somatic cells

B. Haploid gametes

C. Diploid sex cells