The captain and the executive officer are usually the only people on the ship who are over 18 years of age, and they are the most qualified.
The commanding officer and the senior officer are typically the only individuals on board who have reached the age of majority, and they possess the most expertise.