Answer
They are both in the same column of the periodic table (column VII).
Work Step by Step
Their outer electron configurations are $p^{5}$, i.e., they have 5 electrons in their outer p shell. They are halogens, which are one electron away from a filled shell. Their chemical properties are therefore similar.