Hey! To create accurate real 3D models from 2D images, drone mapping technology uses a technique called photogrammetry. By combining and processing multiple georeferenced aerial photographs, photogrammetric techniques are used to generate outputs: 3D point clouds, raster digital elevation models, and orthomosaics. And more detailed information about drones and photogrammetry can be found on this site
https://www.propelleraero.com/use-cases/drone-data-analysis/. Have a nice day!