Most airlines nowadays offer services for safely assisting unaccompanied minors. The way this usually works is that an approved adult checks the child in and accompanies them to the gate.
Airline employees then escort the child onto the plane, where the flight crew monitors them during the flight. When they arrive, the child is released to another approved adult.
Sounds simple enough…