Within the Simiiformes, both humans and chimpanzees are part of the catarrhini group, which includes Old World monkeys and apes. They further share a closer relationship as members of the hominoid family that encompasses apes and humans.
Specifically, humans and chimpanzees belong to the same superfamily of Hominoidea, which includes the lesser apes (gibbons) and the great apes (orangutans, gorillas, chimpanzees, and humans). They are both part of the hominidae family that includes humans (genus _Homo_) and the African great apes (genus _Pan_, which includes chimpanzees and bonobos).
The phylogenetic relationship between humans and chimpanzees reveals their close evolutionary connection, with chimpanzees being considered our closest living relatives, sharing approximately 98-99% of their DNA sequence.