Answer:
When the two atoms are in contact, potassium readily transfers its outer electron to chlorine which readily accepts it, resulting in both atoms achieving a state of eight outermost electrons. With this electron transfer, the ionic bond in KCl is formed.