What are airplanes for?

for flying really, but they also can do the different tasks they are built to do(exp. a passenger planes carries people to a certain destination,a bomber planes drops bombs on a certain target etc.)