The example of a chemical reaction where atoms of one element each lose an electron while atoms of another element each gain an electron describes an ionic bond formation. In this context, the correct pair of elements would be:
an alkali metal and a halogen.
Alkali metals (such as sodium or potassium) tend to lose one electron, while halogens (such as chlorine or fluorine) tend to gain one electron to achieve a stable electron configuration.