We generally try to be helpful in the Mechanics forum.
Yes, OP, it matters. The ratio between the front sprocket (known as the chainring) and the rear sprocket (known as the cog) determines how far you have to move the chain in order to move the wheel. Which means how hard it is to pedal up a hill or how fast you can go.