How can we find in which period and group in periodic table a element exist. Explain whole method thoroughly?