In a nutshell
Trying to gain more than necessary and playing a risky move instead.
In detail
Playing to take as much territory or as many stones as possible while ignoring the weakness of your own stones is called greed.
A greedy move can gain a lot if it works, but if punished it becomes a big loss. There's even a lesson: “if you're greedy for the win, you won't get it.”