A pilot is firing a machine gun from the cockpit of an airplane.