Belly pans are primarily for cosmetics.
Race sanctioning bodies usually require something under the motor that can catch oil in the event of a leak, but most of the belly pans available on the aftermarket are not closed enough to satisfy that requirement unless they're modified by the buyer.