I will fly in a submarine tommorrow.
A person could fly on a plane to a place where submarines are kept.
Airplanes and submarines are both devices that transport people.
Submarines are not designed to fly.