What happens when my gpu or cpu hashes?!
It uses a hash function to calculate a hash from given data. A hash function is a special algorithm that can not be reversed directly. The simplest example would be the function x
2. You can set x = 2 and get the result 4, but you would get the same result for x = -2. Thus you can not reverse the result of such a function and know the original value. In the case of x
2 there are 2 possible values. Most hash functions are more complex of course.
What is mining?
Mining (in proof of work) is hashing slightly different versions of given data until you find a hash with a certain property.
How do anyone make coin with a gpu?
A GPU can be used to calculate a hash, it can not make a coin. This is usually done by people writing code.
Is it something illegal?!
I dont think so, but Im no lawyer and I dont know all laws for all countries.
I do not understand a word about mining?! If my gpu solves any puzzle why will it make some money?? What is all about?!lease answer me
Its actually more of a lottery than a puzzle. The rules of bitcoins code say that anyone that finds a hash with a certain property gets a reward. This is not true for any puzzle. E.g. you can use a GPU to solve the question "what is the password for shorena's wallet file" and might get the answer "abc123def", but sadly the wallet file is empty so no reward for you.