 Taoism draws its cosmological foundations from the School of Naturalists ( in the form of its main elements – yin and yang and the Five Phases ) , which developed during the Warring States period ( 4th to 3rd centuries BC ) . 
