user82405: 
This picture is from arduino.cc .  Could someone please help me understand these parameters min and max? I was using TinkerCad taking input for the angle using a potentiometer (having mapped correctly the input from (0 to 1023) to (0 to 180) ) but i don't see any change when i vary either min or max in my code. The servo still goes to 180-deg position when input is 1023.

user71575: In your question you're referencing the servo library. You mention mapping ranges of 0-1023 (the sampling range of your potentiometer) and 0-180 (the degrees of rotary travel of the average hobby servo).
There is an additional important concept to get familiar with as you learn about servos. That is the Pulse Width Modulated (PWM) signal that the Arduino (or any other controller) uses to communicate with the servo to set what angle of rotation it should assume. PWM is used a few different ways in electronics, but in this scenario it is being used as a servo control signal, and the pulse width (measured as a time duration) communicates the required angle to the servo. The library you're referencing helps users by translating between angles and PWM pulse lengths. But under the covers servos always (close enough for our conversation anyway) receive a signal based on PWM.
Another complicating factor is that servos vary greatly. There is a loose convention that says that a pulse width of 1500 micro-seconds is centre position, 1000 micro-seconds is the minimum -90 degress (or 0 degrees depending on how you look at it), and 2000 micro-seconds is the maximum +90 (or 180) degrees. These match the defaults that @Bra1n notes in their answer.

(Diagram by Wikimedia user Hforesti - https://commons.wikimedia.org/wiki/File:Sinais_controle_servomotor.JPG, CC BY-SA 4.0, https://commons.wikimedia.org/w/index.php?curid=101951622)
But that convention is broken all the time. Some servos are capable of less than or greater than 180 degrees. Others use different pulsewidths to specify the maximum and minimum rotations. It's for this reason that the library allows the minimum and maximum pulsewidth (expressed in micro-seconds) to be specified for the particular physical servo being attached. This allows the library to correctly map to its range of travel.
Everytime you use a new type of servo (or consider buying one for a new project) you'll need to look at its datasheet to get the important information about how that servo works.
One last thought about traps for new players, I've also seen servo libraries which express the maximum and minimum servo PWM values in the range of 0-4096. Some people also express this as a % duty cycle (mixing the language of those other purposes I mentioned PWM is also used for). Knowing that these all map back to a PWM pulse width is useful for making sense as you learn more about servos. Good luck!

82405: <p><a href="https://i.stack.imgur.com/nlVqc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nlVqc.png" alt="enter image description here" /></a></p>
<p>This picture is from arduino.cc .  Could someone please help me understand these parameters min and max? I was using TinkerCad taking input for the angle using a potentiometer (having mapped correctly the input from (0 to 1023) to (0 to 180) ) but i don't see any change when i vary either min or max in my code. The servo still goes to 180-deg position when input is 1023.</p>
 71575: <p>In your question you're referencing the <a href="https://www.arduino.cc/reference/en/libraries/servo/" rel="nofollow noreferrer">servo library</a>. You mention mapping ranges of 0-1023 (the sampling range of your potentiometer) and 0-180 (the degrees of rotary travel of the average hobby servo).</p>
<p>There is an additional important concept to get familiar with as you learn about servos. That is the <a href="https://en.wikipedia.org/wiki/Pulse-width_modulation" rel="nofollow noreferrer">Pulse Width Modulated</a> (PWM) signal that the Arduino (or any other controller) uses to communicate with the servo to set what angle of rotation it should assume. PWM is used a few different ways in electronics, but in this scenario it is being used as a <a href="https://en.wikipedia.org/wiki/Servo_control" rel="nofollow noreferrer">servo control signal</a>, and the pulse width (measured as a time duration) communicates the required angle to the servo. The library you're referencing helps users by translating between angles and PWM pulse lengths. But under the covers servos always (close enough for our conversation anyway) receive a signal based on PWM.</p>
<p>Another complicating factor is that servos vary greatly. There is a loose convention that says that a pulse width of 1500 micro-seconds is centre position, 1000 micro-seconds is the minimum -90 degress (or 0 degrees depending on how you look at it), and 2000 micro-seconds is the maximum +90 (or 180) degrees. These match the defaults that @Bra1n notes in their answer.
<a href="https://i.stack.imgur.com/dJ73i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dJ73i.png" alt="Servo control convention" /></a>
(Diagram by Wikimedia user Hforesti - <a href="https://commons.wikimedia.org/wiki/File:Sinais_controle_servomotor.JPG" rel="nofollow noreferrer">https://commons.wikimedia.org/wiki/File:Sinais_controle_servomotor.JPG</a>, CC BY-SA 4.0, <a href="https://commons.wikimedia.org/w/index.php?curid=101951622" rel="nofollow noreferrer">https://commons.wikimedia.org/w/index.php?curid=101951622</a>)</p>
<p>But that convention is broken all the time. Some servos are capable of less than or greater than 180 degrees. Others use different pulsewidths to specify the maximum and minimum rotations. It's for this reason that the library allows the minimum and maximum pulsewidth (expressed in micro-seconds) to be specified for the particular physical servo being attached. This allows the library to correctly map to its range of travel.</p>
<p>Everytime you use a new type of servo (or consider buying one for a new project) you'll need to look at its datasheet to get the important information about how that servo works.</p>
<p>One last thought about traps for new players, I've also seen servo libraries which express the maximum and minimum servo PWM values in the range of 0-4096. Some people also express this as a % <a href="https://en.wikipedia.org/wiki/Duty_cycle" rel="nofollow noreferrer">duty cycle</a> (mixing the language of those other purposes I mentioned PWM is also used for). Knowing that these all map back to a PWM pulse width is useful for making sense as you learn more about servos. Good luck!</p>
