The sentence "The stars danced until dawn" illustrates the figurative language known as personification. Personification is when non-human objects or things are given human-like qualities or actions. In this case, the stars are being described as dancing, which is a human-like action.