In my study to know more about bitcoin I discovered that difficulty is a measure of the complexity of finding a hash below a given target or the difficulty of mining a Bitcoin block. But I still have problem understanding and I need further clarification about
How blocks of difficulty are stored? And What is the frequency of network difficulty changes?
You should find all your questions answered at
https://en.bitcoin.it/wiki/DifficultyIn short: difficulty is stored (in compressed form) in header field "bits" and difficulty adjusts every 2016 blocks.