Which model phone do you have?
It's becoming more difficult to root a lot of the newer phones but as an example older Samsung models can be rooted using a computer utility (Odin for Windows, Heimdall for Linux, Mac, and Windows). But if you do have a newer phone, there is the aspect that as Android has evolved a number of things that used to make rooting a necessity can now be done by digging a little deeper into the Settings menu or through non-root required apps.