In engine applications, square rubber gaskets are used to seal various components such as valve covers, oil pans, and intake manifolds. These gaskets help prevent oil and fuel leaks, ensuring the engine operates smoothly and efficiently.