Dear Student,
Alkaline metals and halogens do not occur in free state in nature. This is because they are unstable in their free state and react very quickly to gain stability. They make bonds with most of the elements.
Alkali: The alkali metals contain only one electron in its valance shell. They have one 1 extra electron from the stable noble gas electronic configuration.
Therefore, alkali metals has a tendency to form unipositive ion rather than present in free state. They react with electronegative elements such as those belonging to group 16 or group 17 and even react with hydrides to form compounds. Such as: NaCl, LiH, K2O etc
Halogens: The halogens have a configuration in which there are 7 electrons in the valence shell this makes them highly reactive as they are deficient in just one electron to a stable configuration . Therefore the halogens combine with other halogen atoms to form a covalent bond so as to get a stable octet. They can also react with electropositive elements to gain stability. Such as NaCl, CaF2, etc. Hence the halogens are not found in free state.
Regards