Virgo is represented by the glyph ♍︎, which looks like the letter "M" on its side.
Scorpio is represented by the glyph ♏︎, which resembles the letter "M" with a tail.
The similarities in these glyphs likely originated from their roots in ancient Babylonian astrology.