/* edited to specifically provide a potential solution as commented by @jstola */
You have posted a picture of a ubiquitous sound detection sensor - typically a Keyes KY-037.
It is based on an LM393 dual comparator.

The board has a digital output [marked DO] and an analog output marked AO. It also has + and G (Ground) connections.

I dug mine out and attached it to a Nano 33 BLT.

Notice that I have + connected to 3.3v, G connected to ground and AO connected to A5.
A little trick is to connect just power and ground and turn the potentiometer until L2 (that's the LED nearest the pot) turns off. If you make some noise, you will see L2 flash briefly. This sets the digital output threshold and works well for testing the analog out.
Then I ran this simple program (very similar to yours)
void setup() {
pinMode(A5,INPUT); // not absolutely needed in this case
Serial.begin(9600);
}
void loop() {
Serial.println(analogRead(A5));
}
Opened the Arduino IDE serial plotter (shift+ctr+L) and watched the waveform change when I snapped my fingers - see the spikes?.

So what is the solution to your problem that is does not work?
A couple of possibilities.
- You have a different board.
Does your board look just like the one I posted or does it look different? If it is a different board then what you posted, that is another matter.
Assuming it is the same board (or at least the same generic board), it is possible that:
You don't have the connections correct. Double check that.
You don't have the pot set near the mid point - follow the direction for that and observe that the LED can be turned off. That is a multi-turn pot and if you hear a little 'click', you went too far in that direction - move it the other way and see if you can get that LED to just turn off.
Failing any of those, your board could be toast