It depends on the type of parts to be assembled.
you could use just a plain automotive grease like for carburator
application. Or you may use whiz gasket cement for a more permanent application.
There is also another type of sealant being used to assemble transmission
differentials, forget the brand, it comes in grayish white and have more elastic properties than the whiz gasket cement which dries up hard and brittle.