Pronunciation of English ⟨ng⟩
In English, the digraph ⟨ng⟩ often stands for the velar nasal sound, as in long /lɒŋ/ and nothing /ˈnʌθɪŋ/.
In other cases, it stands for the velar nasal followed by the voiced velar stop, as in longer /ˈlɒŋɡər/. This was the original pronunciation of the digraph until Early Modern English, when the /ɡ/ sound was lost in most words. This gave /ŋ/ a phonemic status in English.
Another pronunciation is /ndʒ/, as in angel /ˈeɪndʒəl/. One pronunciation of longevity is /lɒnˈdʒɛvɪti/, though it can also be pronounced /lɒŋˈdʒɛvɪti/, by analogy with long.
NG-coalescence
In Old English and Middle English, any ng sequence was pronounced as two sounds: the ŋ sound followed by the ɡ sound. The ŋ sound was not a separate sound of its own. It was a variant of n, as in Spanish or Italian.
From Early Modern English onward, the ɡ sound stopped being pronounced in educated London speech. Because of this, ŋ became a sound of its own in some analyses, though some scholars still disagree. John C. Wells called this change NG-coalescence. Some English accents did not go through this change, including those of the western part of the English Midlands and the middle north of England, such as Brummie, Mancunian and Scouse. Speakers of these accents still keep the ɡ sound in their underlying form, so for them the g is dropped when they say -ing words as ɪn.
G-dropping
G-dropping is a linguistic variable in which the "ing" sound at the end of a word in standard English is said as a softer "in" or "en" sound in unstressed syllables. Usually no real "g" sound is left out, because the standard pronunciation does not have one. The name comes from spelling. The letters "ng" become "n," so the "g" seems to "drop." Sociolinguists often write this variable as (ing). It is most common in present participles with the -ing ending, so singing may be said as "singin'." It also happens in some other words ending in "-ing," such as ceiling and morning. Phonetician John C. Wells said it is safe to say that G-dropping exists wherever there is an English-speaking working class, except in South Africa. It is also used often in pop culture, such as music and movies.
Sociolinguists have studied G-dropping since the 1950s, and historical linguists have studied its origins since the late 1800s. Its roots lie in the endings of Old English, and by the 1400s the "ng" forms had begun to replace the "nd" forms. As English changed into Modern English, G-dropping became linked to socioeconomic class. It is more common in the lower working class, but it can also be heard in the casual speech of other groups. In some research, it was more common among males than females. In some dialects, such as Cockney, it is seen as very non-standard. In dialects with the weak vowel merger, such as most of North American English and Australian English, dropping the "g" makes taking sound the same as taken. In New Zealand English, the sound changes in a different way. Many people in North America connect G-dropping with lower-class speech, partly because of characters in books like Uncle Tom's Cabin. It is also common in the southern United States and in African-American English. Although it is often seen as incorrect in speech, it sounds natural in singing, as in Bob Dylan's song Blowin' in the Wind, which uses an apostrophe to show the dropped "g." The 1970 Canadian movie Goin' Down the Road, set in Toronto and Cape Breton Island, also uses it to show the social position of its main characters.
Changes affecting the -thing suffix
In Cockney, the -thing ending is often changed, much like the -ing ending when the g is dropped. Instead of the usual sound, it can be pronounced with a voiceless k sound, so "nothing" may sound like [ˈnʌfɪŋk]. The k can also be made with a small catch in the throat before it, as in words like "think", "limp" and "tint". Often the "ng" sound is lost in these words, and the vowel before it becomes nasalization, which means it is said partly through the nose. The k can disappear too, leaving only a short catch in the throat, just as the "p" and "t" sounds do in the same position.
John C. Wells says that these ways of saying -thing are best explained as the sounds /θɪŋk/.

Quiz time!
5 questions about Pronunciation of English ⟨ng⟩
What sound does the letter pair ⟨ng⟩ often stand for in English?
Keep exploring
This article is a child-friendly adaptation of the Wikipedia article on Pronunciation of English ⟨ng⟩, available under CC BY-SA 4.0.