To stop "rust weld" of the drum to the axle flange? (just a guess)

A gasket seems to be used on a lot of vehicles but it is not clear if the gasket is needed for for an oil seal on some of those vehicles)?