Avery important aspect you need to look for when choosing between cameras is something called the “Sensor”.
The sensor has a main role in the quality of the photo. It is the hardware piece in the camera were it take the light and define the details.
The bigger the sensor the more details and more quality you get in your photos.
The table below has different types of cameras and a comparison for their sensor’s size.