Question: are piano and guitar notes the same?
Answer: Yes, they contain the same notes. No, because in a sense the guitar version of a chord is like an inversion, or a different voicing of the one on a piano. Take the A major chord for example. On a piano, the “basic” A major chord is made of A, C#, and E, in that order.