A Potentiometer (pot) is a resistor that can be both fixed and varied, also known as variable resistors.
A typical Potentiometer:
https://www.adafruit.com/product/356?gclid=Cj0KCQjwu_jYBRD8ARIsAC3EGCJ5JS4kSB1WgJjxSOwnekQ925ZnsxyONZT5ODQkNDcvyr0QBmkxM20aAgm7EALw_wcB