In camera HDR: https://www.slrlounge.com/in-camera-hdr-intro/
In camera focus stacking: https://www.youtube.com/embed/E5zX1E5wAiE
Sometimes high end "pro" cameras will skip those features because they expect people to process those image on a computer anyway, but in general a modern camera will beat a phone hands down.