In the movie Pearl Harbor, why is there a biplane flying in front of the formation of Japanese planes?

You'd think that the biplane would be shot down in a few minutes? Why didn't they just use a regular airplane (fighter plane to fly in front)? Also, in WW2, did the US navy/air force use biplanes to fly in front of a formation of planes?

The bi-planes were used for reconnaissance. They were economical fuel wise(for distance), and not as easy to see or hear for spy flights, and could easily land and take off from a carrier. After the development of efficient radar, they weren't needed.

AIRPLANES PLANES V14x4 LD MACHINE EMBROIDERY DESIGNS
AIRPLANES PLANES V14x4 LD MACHINE EMBROIDERY DESIGNS
$7.49
Time Remaining: 19d 6h 50m
Buy It Now for only: $7.49

AIRPLANES PLANES V24x4 LD MACHINE EMBROIDERY DESIGNS
AIRPLANES PLANES V24x4 LD MACHINE EMBROIDERY DESIGNS
$7.49
Time Remaining: 19d 6h 50m
Buy It Now for only: $7.49

Bucilla FROSTY FLIGHT Santas Air Plane Felt Decor Kit
Bucilla FROSTY FLIGHT Santas Air Plane Felt Decor Kit
$49.95
Time Remaining: 22d 14h 19m
Buy It Now for only: $49.95