Jasmine+Graham

can any atom bond with another or can they only bond with specific other atom?