A characterization of the planes secant to a non-singular quadric in PG(4,q)