Combining elements to form molecules