Yes putting money in lottery is also gambling it is a type of gambling in which you bet your money for others money and no one will know who will win the lottery. The same happen in the end that one win the money and the other one lose all of his money to him.