여(after a noun not having last consonant) or 이여(after a noun having last consonant) is an addressing particle. It has nuance of exclamation or appealing. It rarely used in conversation. It mostly used in poets or lyrics.
Ex)
슬픔이여 안녕.
젊은 그대들이여, 시간을 아껴 쓰시오.
하늘이여, 조국을 보살피소서.
임이여, 나를 떠나지 마오.
움직여 다오, 나무여!
주여! 이 어린 양들을 구하여 주소서.