An interjection meaning ‘O God!’. It is used to call on Allah in any situation—distress, gratitude, repentance, praise, etc. 

Equivalent phrases may use other names of Allah, such as ‘Yā Rabb (O Lord)’, ‘Yā Mawlā (O Master)’, ‘Yā Shāfī (O Healer)’, and many more.