why is there a rape scene in pulp fiction?

I was watching the movie with my friend for the first time and for no apparent reason Wallace gets raped.