Respectively, these mods provide compatibility for shaders with Sodium, integrate the Fabric rendering API, and to optimize Minecraft’s lighting engine. To use Sodium on Lunar Client, open the Lunar Client Launcher, click the Versions button on the left, select your version, and then choose...
Sodium has the edge over OptiFine if you want to focus solely on increasing your FPS. However, many people still prefer OptiFine due to better configuration options for shaders and other visual settings.