Trimming vs cropping: what is the difference?
People use the two words for the same job. They are not the same job.
Cropping is you choosing a rectangle. You drag a box over the picture and everything outside it is thrown away, including parts of the subject if that is what you want. A crop is a compositional decision: cut the bin out of a street photo, turn a landscape shot into a square for Instagram, push in on a face.
Trimming makes no decision at all. It walks in from the top edge until it meets a pixel that is not the background, then does the same from the bottom, the left and the right. Whatever rectangle those four stopping points describe is the result. No part of your subject can be lost, because the scan stops the moment it finds any of it.
Take a 1000 x 1000 logo export sitting on a transparent artboard, with the mark itself only 600 x 200 in the middle. Trimming gives you a 600 x 200 PNG of exactly the same mark. Cropping it to 600 x 200 by hand gives you whatever you happened to drag, and you will be one pixel off.
So: change what is in the picture, crop it. Delete the white or transparent margin that is already doing nothing, trim it. This page trims. The dashed box on the before preview shows you what the scan found, so you can see what is coming off before you download anything.