What is the background equation that solidworks uses to determine is a surface can become a solid?

I was told that there is an equation that solidworks uses to determine if a surface can become a solid, I was wondering if anyone knows what this is?

Thank You!

SolidworksParts And Features