This is a common phrase to talk about the way that you use something, or the way that something happens. You can use it in lots of different sentences like:
Can you show me how it works?
I think I understand how it works.
"How ___ works" is an example of a noun clause, which is a clause that you use in place of a noun in a sentence.