The purpose of hacking is to gain an understanding of a thing to otherwise manipulate it into doing something it was not designed to do.
Say you have a toaster. This toaster only cooks breads one way. One day you decide you want that toaster to toast bread another way. The rest is up to you.