Describe how atoms in a compound are held together thank you

Would have something to do with the valence of the atoms? Try Googling this.