SD card module works fine in Arduino Uno but it doesn't work in Mega

Hi! We are having trouble in initializing the SD Card using the arduino mega, but we tried in uno and it works just fine. How do we fix this? we tried simple codes like:

#include <SPI.h>
#include <SD.h>

#define SD_CS 53  

void setup() {
    Serial.begin(9600);
    Serial.print("Initializing SD card...");

    pinMode(SD_CS, OUTPUT);

    if (!SD.begin(SD_CS)) {
        Serial.println("SD Card failed or not detected.");
        return;
    }
    Serial.println("SD Card initialized successfully.");

    Serial.println("Listing files on SD card...");
    File root = SD.open("/");
    printDirectory(root, 0);
    Serial.println("Done.");
}

void loop() {}

void printDirectory(File dir, int numTabs) {
    while (true) {
        File entry = dir.openNextFile();
        if (!entry) {
            break; // No more files
        }
        for (uint8_t i = 0; i < numTabs; i++) {
            Serial.print("\t");
        }
        Serial.print(entry.name());
        if (entry.isDirectory()) {
            Serial.println("/");
            printDirectory(entry, numTabs + 1);
        } else {
            Serial.print("\tSize: ");
            Serial.println(entry.size(), DEC);
        }
        entry.close();
    }
}

We connected the pins like:

VVC - 5V
GND - GND
MISO - 50
MOSI - 51
SCK - 52
CS - 53

Verify your SDcard module is being supplied with the correct voltage (3v3 or 5v). You should post a picture of both sides of the module. AND you should paste your code in a code block...

No formatted sketch.

No schematic.

No clear, well lit, in focus pictures of your wiring.

No description of any kind of the SD module you're using, let alone links to the specific hardware.

What, exactly, kind of help did you think people were going to be able to offer with practically nothing to go on?

Sorry, we're quite new to this. It just simply looks like this, but it doesn't work.

The SD Card module specification is this:

And it shows like this when uploading the code:

we did run a code to test the voltage and it is below 3v, how should we fix this? Thank you for responding

Did you format your SD card?

And, post your code as text in a code block, NOT in a picture.