why is the gas cap so important to fuel gauge problems on 2001 Chevrolet Blazer

yes i know it keeps the fuel in an out fuel gauge seems to be linked to gear lever been in neautral could it be earth wire prblem thanks

Asked by for the 2001 Chevrolet Blazer
Have it tested with a scanner that can test the instruments for a problem/codes...