Learn about the nature of herbs

Hello How can I know what properties a herb might have? Like if it is yin or yang or astringent etc. is there any book explaining these stuff? or any website. Thank you