Genesis of Magnetism: A Comprehensive Overview