The Sun's Song is optional in The Legend of Zelda: Ocarina of Time Remake - but one that is too useful to not learn.
This song can be played on Link's ocarina so that you can change the time from day to night (or night to day, depending on when you play the song). This helps when you have quests that are locked behind a certain time.
Here's how to get this useful song.
How to Get Sun's Song in The Legend of Zelda: Ocarina of Time Remake
You'll need to have unlocked Zelda's Lullaby. If you haven't gotten it, you'll have to sneak through Hyrule Castle and meet Zelda for the first time. It's part of the main story quests once you leave Kokiri Forest.

After you've gotten the lullaby, head to the Kakiriko Village Graveyard. Once you've arrived, head to the very back of the graveyard. You'll spot a large tombstone with a Triforce on the ground - that's the right spot.
READ MORE: Nintendo Website Hints at a Surprise 3DS Zelda Drop for Switch Online
Now that you're in front of the tombstone, play Zelda's Lullaby on your ocarina. The tombstone will slide open, and a mini-dungeon can be found inside. Once you enter, you'll be greeted with a Keese. You can easily defeat it with a slingshot.

After the enemy has been defeated, climb the steps and head to the room filled with ReDeads. The best way to counter them is by running through the middle of the room - yes, even with the poison water. Once you've reached the other end of the room, interact with the tablet and learn the Sun's Song on the Ocarina.
For more like this, check out how to get Epona in the Ocarina of Time Remake.

