3D scanners and photogrammetry tools such as Meshroom often save their results as PLY, a format designed at Stanford for scan data. Many modelling programs, game engines and online viewers expect OBJ instead. Both store a mesh as vertices and faces. A scan's colour is usually stored per vertex in PLY, which only some OBJ readers understand.
The model is converted as triangles: lines and points are dropped, positions are used as they are, and no axis conversion is applied, so a model that is Y-up in glTF and Z-up in STL, OBJ and PLY is written exactly as it was read. Vertex colours are written into the OBJ; materials and textures are not. Models up to 3,000,000 triangles are accepted.