The above photo taken on the OnePlus 5 indoors in dim light is using the default OnePlus camera app. This is an extreme crop to highlight the detail.
Next up is a much better quality version.
So how did the same phone take a much better photo.
Simple. Using the Google Camera app.