1.
the same kind, same type
Things or people that belong to the same category or share common characteristics.
2.
fellow, accomplice, birds of a feather
A person who shares the same (often negative) traits or associations. Frequently used with a critical or dismissive nuance.
Usage
Sense 1 is neutral and used in academic or analytical contexts. Sense 2 carries a negative nuance, implying guilt by association or shared bad traits. The well-known saying is 同病相憐れむ (fellow sufferers pity each other). 同類相憐れむ is generally regarded as a mistaken blend of it.
Common collocations
Similar words
同類 emphasizes shared category or traits (often negative for people). 同種 is more neutral and technical, meaning "same species" or "same type." 仲間 means "companion" or "peer" with a positive or neutral nuance.