As you know, Bitcoin has been developed under a public blockchain.
So, the two might seem like oil and water: an unnatural match.
The maths behind it is complicated, so I will skip that for this section, but if you want to explore it now, you can do it.
Please enjoy this detailed and eye opening conversion between Aaron Van Wirdum and Sjors Provoost.