The convention of using 1/12 the mass of a carbon-12 atom as the atomic mass unit was adopted because:
1) Carbon-12 has 6 protons and 6 neutrons which have nearly equal mass and the mass of electrons is negligible.
2) Dividing the total mass of protons and neutrons in carbon-12 by 12 provides a whole number for atomic masses rather than fractions.
3) Carbon-12 is the most common isotope with an equal number of protons and neutrons, making it readily available as a standard.