Why does Terrorism Happen?

Terrorism is what it sounds like, people terrorize oher people because they want to gain control. However, sometimes they terrorize because they do it for a religion or a cult.