One of the following is not a function of bones in human body?

A ) Protection of vital organs

B ) Secretion of hormones ✅

C ) Place for muscle attachment

D ) Production of blood corpuscles