For example, the open string G and the fifth fret G on the D string and the tenth fret G on the A string are all the same note even though they sound slightly different. Bassists can choose where to play a given note based on the tone that best fits the sound they're after.
![[Linked Image from onlinebasscourses.com]](https://onlinebasscourses.com/wp-content/uploads/2017/08/Now-adding-the-sharp-notes.png)