Hip hop is a broad culture encompassing four pillars: rapping (MCing), DJing (turntablism), breakdancing (b-boying), and graffiti (visual art).
Rap is the vocal delivery style—rhythmic, rhyming speech over a beat—and is one element of hip hop culture.
Thus, hip hop is the culture; rap is a musical component within it. Neither is "better"—they're different categories.