That explains it; it is the Google Lens app I used. Or does it?
However, if you go to the Google Store page for it, it does tout this feature:
"IDENTIFY PLANTS & ANIMALS Find out what that plant is in your friend's apartment, or what kind of dog you saw in the park."
I have the current version, which was updated on August 13, 2020.
I will give it another spin, and also look for the lens mode in the camera app. (My phone is from Google, so the camera is the Google one; if any Android camera app has a Google Lens mode, it should be that one.)