"Sun of a Gun" is the major-label debut song recorded by Danish recording artist Oh Land. It is taken from her self-titled second studio album Oh Land (2011). It was released as the album's lead single on 4 October 2010 by Fake Diamond Records and Sony Music Entertainment. Elsewhere, the single was released on 24 April 2011 as a CD single and 7-inch single. A Europop and synth-pop song, its lyrics describe a troubled relationship by comparing its effects to the orbit of the sun. The track was written by Jimmy Harry and Nanna Øland Fabricius, with Dave McCracken solely producing it.