From FreeCAD Documentation
The exporter outputs a CSG based (sub-)tree to .csg. Geometry which is not based on CSG operations and is exported as a mesh.
The OpenSCAD module contains a toolbox with functions to modify the feature tree and repair models.