Hi and welcome1
The size of the needle determines how big the stitch is and how many stitches you can get per inch (gauge). A larger needle will give you fewer sts/inch, a smaller needle will give you more sts/inch. There's a good video for gauge
here (about halfway down the page) to give you an idea of how important it is to knitting projects to the desired size.