How do bots work on RuneScape?

bots are programs that does everytime the same thing if youuse a bot now the change is big to get banned