First, let's have a picture of slider:

When to use Slider instead of an input field:
- When you want to take input in touch devices.
Since sliders can be given input by touch, It doesn't have to open keyboard in mobile. Also it becomes faster to input in mobile devices.
- When you have start & end points
All sliders have starting and ending point which show the broadness of value user can input.
- When user can skip in between values
In some cases, user feels good to enter mainenter approximate values. For example in ratings, user don't prefer to put 3.45 out of 5. While in case of brightness or volume control, user don't even need the values
First, let's have a picture of slider:

When to use Slider instead of an input field:
- When you want to take input in touch devices.
Since sliders can be given input by touch, It doesn't have to open keyboard in mobile. Also it becomes faster to input in mobile devices.
- When you have start & end points
All sliders have starting and ending point which show the broadness of value user can input.
- When user can skip in between values
In some cases, user feels good to enter main values. For example in ratings, user don't prefer to put 3.45 out of 5
First, let's have a picture of slider:

When to use Slider instead of an input field:
- When you want to take input in touch devices.
Since sliders can be given input by touch, It doesn't have to open keyboard in mobile. Also it becomes faster to input in mobile devices.
- When you have start & end points
All sliders have starting and ending point which show the broadness of value user can input.
- When user can skip in between values
In some cases, user feels good to enter approximate values. For example in ratings, user don't prefer to put 3.45 out of 5. While in case of brightness or volume control, user don't even need the values