They certainly can. However, they have other groups that are used to classify a compound.
I believe it is decomposition, neutralization, combustion
Hydrofluoric acid is a solution of hydrogen fluoride (HF) in water. Solutions of HF are colourless, acidic and highly corrosive. It is used to make most fluorine-containing compounds; examples include the commonly used pharmaceutical antidepressant medication fluoxetine (Prozac) and the material PTFE (Teflon).
The pairs are:
K, Kr - Same period
Be, Mg - Same group
Ni, Tc - Both are transition metals
B, Ge - Both are metaloids
Al, Pb - Both form inert oxides
Atom is a neutral element found in nature without any charge. In other words, it has same number of Protons and electrons, whereas ion is a charged thing, either positive or negative. We can find their charge by:
Charge = Number of Protons - Number of Electrons
Hope this helps!