when the velum is not raised against the back of the pharynx the air stream has access to the nasal cavity.
if at the same time the oral cavity is blocked somewhere further forward in the mouth-the entire air stream therefore passing through the nose-the result will be a nasal sounds.
examples are m and n as in might and night.