There are three common kinds of AI system: recognition, prediction and generation. A computer vision system is one example of recognition. It is a machine learning model. It takes in a picture or a video, and works out what it contains. Take one simple photo recogniser. Its job is to say what is in your photos. Give it one photo: a dog and a person in a park. The photo recogniser takes in this photo as very small dots of colour, called pixels. Each pixel is stored as three numbers: how much red, green and blue it has. So the whole photo is a grid of numbers, in rows and columns.
In image classification, the photo recogniser uses these numbers to make one guess for the whole photo. Its machine learning model was trained on many photos. In each one, a person had named the whole photo with one word, such as dog. From these photos, it learned which patterns, such as colours, edges and shapes, go with each name. After training, the model does inference on your photo: its patterns go with dog, so it guesses dog. The guess, dog, does not say that a person is also there, or where the dog is. For example, Google wrote that it used an image classification model to let people search their own photos in Google Photos.
In object detection, the photo recogniser guesses what each thing it finds is, and where it is. For this job, its model was trained on another set of photos. In each one, a person had drawn a box around each thing, and named it. After training, the model does inference on your photo. It finds two things, and guesses dog for one, and person for the other.
To show where the dog is, it draws a rectangle around it, on the rows and columns of pixels. The rectangle is called a bounding box. It draws a second bounding box around the person. It gives each box's place as numbers: the column and row of its corners.
In image classification, the trained model makes one guess for the whole photo, and does not say where. In object detection, the trained model guesses what each thing it finds is, and where it is. A bounding box shows where a thing is: the column and row of the box's corners. When an app names one thing in your photo, ask what else is in it, and where that thing is.