Disclosed are novel pyrzaolopyrimidines of Formula (I), their derivatives, pharmaceutically acceptable salts, solvates and hydrates thereof. The compounds have protein kinases inhibitory activities and are expected to be useful for the treatment of protein kinases mediated diseases and conditions.