Given the task definition and input, reply with output. In this task, you are given a sentence and a question, you would be asked to create the answer which is contained in the sentence provided.

Sentence: A(n) an ionic bond forms when the metal sodium gives up an electron to the nonmetal chlorine. Question: What forms when the metal sodium gives up an electron to the nonmetal chlorine?

an ionic bond